|
-
May 30th, 2001, 10:43 AM
#1
Thread Starter
New Member
Instancing forms
Is it possible to instantiate a form using it's name held within a string? I'm getting a string of XML from an automation server that contains the form name to display and the data for the form; just need to instantiate it!
I don't really want to load up all forms at startup and cycle the collection each time until I find the required form, either by tag or name... unless it's the only possible way to achieve what I want to do.
-
May 30th, 2001, 10:48 AM
#2
Frenzied Member
Try this,
dim oForm as Form
set oForm = "Form name from the xml string"
load(oform)
oform.visible = true
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
|