|
-
July 17th, 2007, 07:55 AM
#1
dynamically loading forms
I do not understand how to dynamically load a form. I have a list of choices the user can select, (from a treeview) and when the user clicks a node I want a form to load on the screen. How can I load a form dynamically?
I know how to:
dim frm as frmName
frm = new frmName
frm.show()
However, what if the frmName is not known until the user clicks one of the nodes in the treeview?
I want to:
dim frm as form
frm = new form(formNameFromTreeview)
frm.show() 'showing one of the forms clicked on.
Any help?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|