[Year 12 Its] VB Question

Adrian Janson jansona at mhs.vic.edu.au
Wed Jul 12 10:47:10 EST 2006


Hi Frank,

The way I usually do this (which may not be the most efficient), is I create
a blank image on the form and make it invisible.  If I want to blank an
image, I would then use code like this:

imgPicture.Image = imgBlank.Image

Cheers,
Adrian

-----Original Message-----
From: is-bounces at edulists.com.au [mailto:is-bounces at edulists.com.au] On
Behalf Of Frank RUSSO
Sent: Wednesday, 12 July 2006 10:17 AM
To: is at edulists.com.au
Subject: [Year 12 Its] VB Question

A Simple Question.

What is the command in VB to clear a image.

img.Picture = "none" returns a type mismatch and so does img.Cls ???

Frank
_______________________________________________
http://www.edulists.com.au
IT Systems Mailing List kindly supported by
http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority
and
http://www.vitta.org.au  - VITTA Victorian Information Technology Teachers
Association Inc



More information about the is mailing list