Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer event question on a form
Message
 
À
19/06/1997 11:55:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00036971
Message ID:
00037005
Vues:
33
>>>>I have 2 timers on a page that display 2 bmp's, 1 then the other repetitively for an alternating effect. I use an @ row,col say mybmp.bmp but when the form gets hidden, an error message comes up saying row or col position is off the screen. Is there a way to prevent this?
>>>
>>>when you hide the form, deactivate the timers.
>>
>>Ah-ha, how is this done, couldn't find help on that topic.
>
>Timer.Enabled=.F.
>BTW, it's much better to use Image control with Picture property alternated by Timer.

Thanks I got it to work correctly with the Timer1.Enabled=.F. method but I did not know what you meant with the "Image control with Picture property alternated by Timer."
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform