Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Do I Prevent Multiple Instances Of The Same Form
Message
From
19/08/1999 18:05:13
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255528
Message ID:
00255571
Views:
17
Hi Doug ---

The following works if the Form's name property is the same as the SCX file name:

cForm='frmmyform'
IF WEXIST(cForm)
ZOOM WINDOW (cForm) NORM
ELSE
DO FORM (cForm)
ENDIF

>I have a VLS (Very Large Scale)database application, which allows moving rapidly from one form to another and back.
>I have noticed that in several cases, that a user is able to get multiple instances of the same form running, which may be hidden behind the main screen.
>
>How can I test for whether or not a form is already running, and just activate it, instead of DOing another instance?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform