Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting to READ EVENTS from READ
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00796195
Message ID:
00796238
Vues:
13
This message has been marked as the solution to the initial question of the thread.
Sure. Check out _Screen.Forms() collection and _Screen.FormCount property. If they have a form open you care about, you can abort the kick-out process. If FormCount is greater than 0, then you can get a reference to each form object using the Forms() collection:

FOR EACH loForm in _Screen.Forms
... check anything about the loForm object here
ENDFOR

>I only want to kick them out if they are at the MainMenu. Not, if they have a screen or report open. Is there any way to tell if they do have a screen or report open without modifying every screen and report?
>
>Thanks.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform