is there any way to create objects at runtime
Printable View
is there any way to create objects at runtime
You mean like this?VB Code:
Dim objectvar As objecttype Set objectvar = New objecttype
Object as in control?
http://www.developerkb.com/modules/w...p?articleid=35
A full example of this would be:
VB Code:
Dim lblTest as Label Set lblTest = New Label lblTest.visible = True lblTest.autosize = True etc.
You can also set up control arrays like that.
What type of object are you looking to create? There different technics involved so you would have to be much more specific.Quote:
Originally Posted by notquitehere188