Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Close Form on Inactivity
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Auto Close Form on Inactivity
Divers
Thread ID:
00823423
Message ID:
00823423
Vues:
54
Hi all,

I wanna get this:
A Top-Level form is activated (DO FORM myForm) and _SCRREN.Visible is OFF.
myForm have a lot of controls. After 5 seconds of inactivity INSIDE myForm, it must be closed.

I tryed it with a Timer with Interval 0 and "Thisform.Hide()" in the Timer Event.... In the myForm.LostFocus(), "this.Timer1.Interval = 5000" And in the myForm.GotFocus(), "this.Timer1.Interval = 0".
But... it don't works....

In summary, I wanna get the same effect like MSN Messenger popup windows.

Thanks in advance.
Lic. Esteban Bruno
Gerente de Sistemas
TASSO S.R.L.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform