Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Just one instance
Message
 
To
01/08/1999 14:50:42
Antonio Gubaira
Ingenieria Y Sistemas
Valencia, Venezuela
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00248687
Message ID:
00248715
Views:
11
>Hi Everybody !
>
>How can I enforce just one instance of a modeless form ?
>
>Thank you

Hi Antonio,

You'd do this sort of thing with your forms manager code. Simply check to see if the form is already running (via checking the _SCREEN's Forms collection). If the form already exists, simply call its Activate method.

In the case of an SDI application, you might want to look at my article that appeared in last November's FoxPro Advisor on creating single instance applications.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform