Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question
Message
De
03/11/1999 23:24:02
 
 
À
03/11/1999 23:16:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00286561
Message ID:
00286680
Vues:
21
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform