Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I check for existence of a form already load/runnin?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How can I check for existence of a form already load/runnin?
Miscellaneous
Thread ID:
00357153
Message ID:
00357153
Views:
45
I have a bunch of forms in my app. The main form normally loads and never gets released until I exit the app. But when I enter the app from the Administrator's form, the main form is not always loaded unless you have been to the form from a command button. So what's happening is I skip that command button go to another form instead and try to go to the main form from there, it was never loaded so it takes me to a blank window.

Is there a way I can check to see if the main form was ever loaded prior to trying to go to it with my DO FORM command? If it was not loaded, I will load it with DO FORM main.scx otherwise, if it is aleady loaded I don't want to load it again. I will skip loading it.

Thanks for the help. Never had to do this before. Should be interesting.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Next
Reply
Map
View

Click here to load this message in the networking platform