Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer control... How to use it?
Message
 
 
À
18/08/2001 14:33:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00545885
Message ID:
00545886
Vues:
26
>Hi. How do you set up the timer control? Sorry to ask but help is not very helpful. I need a label to flash like every second. I know I have to set the Visible property to .f. and .t., but how do you program this in the timer?
>TIA
>Ulises.

Drop a timer control on the form with the label and set Enabled property to .F. Put the code you want to run in the timer's Timer Event
This.Enabled = .F.
Thisform.Label1.Visible = Not Thisform.Label1.Visible
This.Enabled = .T.
To start timer at appropriate place
Thisform.Timer1.Interval = 1000 && 1 second or whatever
Thisform.Timer1.Enabled
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform