Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timeout an application due to inactivity
Message
De
10/05/1999 12:59:34
 
 
À
10/05/1999 12:36:41
Kam Lee
SUNY-Health Science Center
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00214697
Message ID:
00216777
Vues:
34
You need to clear the forms before.
llQuit = .T.

DO WHILE llQuit AND (Type("_Screen.ActiveForm") = "O")
   IF _Screen.ActiveForm.QueryUnload()
      _Screen.ActiveForm.Release()
   ELSE
      llQuit = .F.
   ENDIF
ENDDO

IF llQuit
   CLEAR EVENTS
ENDIF
HTH

>I used "CLEAR EVENTS" in my timer event. It seemed to work out fine.
>However, when there is a modal form on the screen., the "CLEAR EVENTS
>does not seem to work the way I expected. Is there any way to get around that
>without change the form to modeless?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform