[Year 12 IPM] A vb question
RILEY, Bruce
Bruce.RILEY at kew.vic.edu.au
Fri Dec 8 11:25:47 EST 2006
Thanks Adrian. I will try both your suggestions.
Bruce
________________________________
From: ipm-bounces at edulists.com.au [mailto:ipm-bounces at edulists.com.au]
On Behalf Of Adrian Janson
Sent: Friday, 8 December 2006 11:16 AM
To: 'Year 12 Information Technology Processing and Management Teachers'
Mailing List'
Subject: RE: [Year 12 IPM] A vb question
Hi Bruce,
Making a picturebox blank can be done two ways. The way I normally tell
students to use is to create a picturebox and make it invisible. Name
it 'picBlank' or something similar. This picturebox can then be used to
blank another one by doing something like this:
picImage1.Image = picBlank.Image
Alternatively, the keyword 'Nothing' can be used like this:
picImage1.Image = Nothing
Hope this helps!
Cheers (and thanks for the great feedback!)
Adrian
Adrian Janson
VITTA President
Director of ICT
Melbourne High School
www.adrianjanson.com.au <http://www.adrianjanson.com.au/>
________________________________
From: ipm-bounces at edulists.com.au [mailto:ipm-bounces at edulists.com.au]
On Behalf Of RILEY, Bruce
Sent: Friday, 8 December 2006 10:13 AM
To: ipm at edulists.com.au
Subject: [Year 12 IPM] A vb question
Hi everyone
Apologies for the cross mail with IPM and IS
I am working through Adrian Janson's excellent VB .NET for Education
book. I am using his Image browser program which uses the dialog box to
open a bitmap into a picturebox. I want to reset the picture box so that
it is clear. Can anyone tell me the command to do this please? I have
not been able to work it out.
Thanks
Bruce
_______________________________________________
http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
IPM 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
_______________________________________________
http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
IPM 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/ipm/attachments/20061208/f3d2ce0e/attachment.html
More information about the ipm
mailing list