[Year 12 IPM] Visual Basic 6 help please

Mike Brookes mikeb at labyrinth.net.au
Wed May 18 21:10:48 EST 2005


Hi Charmaine
Using the .Add method of the Controls collection of the form will allow 
you to add a control at runtime, you can then set the control's 
properties as needed. See the second example at

http://www.vbexplorer.com/VBExplorer/vb_feature/april2000/april2000.asp

Mike Brookes
Copperfield College

Charmaine Taylor wrote:
> To all VB6 Gurus,
> One of my students wants to load a picture box at runtime. She doesn't 
> want to place an empty picture box or image box on a form then load a 
> picture at runtime. She wants to create the picture or image box while 
> the program is running in response to some event.  Does anyone know how 
> to code this please?
> 
> 
> Charmaine Taylor
> Sunbury Downs College
> 
> _______________________________________________
> 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
> 
> 



More information about the ipm mailing list