Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie question
Message
From
03/11/1999 23:24:02
 
 
To
03/11/1999 23:16:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00286561
Message ID:
00286680
Views:
22
Hi Alex,

>I would like to make my base form class issue a read events, or to set the form to modal, or whatever, depending on whether read events is in effect or not. Since no function seems to indicate this I will have to resort to a global variable, which I'd rather not.

In the Property Sheet of the form, set the WindowType to 2 - Modal. This means that in this code:
WAIT WINDOW '1'
DO FORM MyForm
WAIT WINDOW '2'
if the form is modal, you won't see the '2' untill after the form has been realesed, if the WindowType is not 2 then you will see the '2' before the Form is done.

Now to aviod the variable scenario, you can use the Modal form method and it will work with no special code in both scenarios (startup and later).

Does this help? Glad to hear your version move is coming along nicely.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform