is there any way to create objects at runtime
It's not just Good, It's Good enough! Spelling Eludes Me
You mean like this? VB Code: Dim objectvar As objecttype Set objectvar = New objecttype
Dim objectvar As objecttype Set objectvar = New objecttype
Pete No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.
Object as in control? http://www.developerkb.com/modules/w...p?articleid=35
Has someone helped you? Then you can Rate their helpful post.
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.
Dim lblTest as Label Set lblTest = New Label lblTest.visible = True lblTest.autosize = True etc.
Sherminator ~ I'll be back.
Originally Posted by notquitehere188 is there any way to create objects at runtime What type of object are you looking to create? There different technics involved so you would have to be much more specific.
Forum Rules