Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing multiple instances of a form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00018445
Message ID:
00018448
Views:
33
>>Does anyone have a way of preventing multiple instances of a form without setting the Form WindowType property to 1-Modal?
>
>Use the code similar to:
>
>If type('oMyForm') # 'O' or isnull(oMyForm)
> oMyForm = creatobject('MyForm')
>endif
>
>
>Well anything like that should work.
>
>Tom


I am not calling the forms as classes. I am using DO FORM. Is their something I could put in the Init method?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform