Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check for duplicate forms?
Message
 
To
25/03/1997 23:24:50
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00025616
Message ID:
00025618
Views:
29
>If I want to open the same form multiple times in my app, how do I check for the existence of a previously opened form? I want to set the window title (caption) to MyForm#1, MyForm#2, etc. and offset each window so they dont open directly on top of one another.

You can try to use WEXIST("MyForm#1")
Also look at Tasmanian Traders sample, it is implemented there also.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform