|
-
July 3rd, 2001, 09:59 PM
#1
Loading a Form Throught It's Name in String Form.
I've got a forms name in a string variable, how can I reference the from through code? Is it possible or not?
-
July 4th, 2001, 12:44 AM
#2
Re: Loading a Form Throught It's Name in String Form.
If you just wan't the main instance of the form
forms("formname").caption = "Hello"
If you want to create a new instance of hte form
dim frm as form
set frm = CreateObject("projectname.formname")
frm.caption = "Hello"
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
-
July 4th, 2001, 03:31 AM
#3
Re: Loading a Form Throught It's Name in String Form.
have also a look here (and rate John and Cakkie reply if they helped you!):
http://codeguru.com/cgi-bin/bbs/wt/s...age=&view=&sb=
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
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
|