Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quit application when file('xxxxxxxxxx')
Message
De
05/07/2000 23:27:22
 
 
À
05/07/2000 06:25:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00387980
Message ID:
00388681
Vues:
9
Then don't add the timer to _SCREEN or a Form. Just define it and create it:
PUBLIC oTimer1
oTimer1 = CREAT([oTimer])

DEFINE CLASS oTimer AS TIMER
	INTERVAL = 1000
	PROC TIMER
	IF FILE([foo.txt])
		QUIT
	ENDIF
ENDPROC
ENDDEFINE
Dave

>No that don't works.
>It only works if the window where my app. is running or (vfp) has the focus.
>??????
>
>thanks anyway !!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform