Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer in Toolbar !
Message
De
17/11/1997 12:22:58
 
 
À
16/11/1997 13:24:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00060548
Message ID:
00060694
Vues:
26
Thank you, Paul. I try it.
Denis Gavrikov.

>This is a known bug: Timers never fire in a toolbar.
>
>If you want to have a timer in a toolbar:
>
>Create a new property (MyRuntimeTimer) to your container (that is placed in the toolbar) or directly to the toolbar. Add the following code to the Init of the container or toolbar:
>
>This.MyRuntimeTimer = CreateObject("MyTimer")
>This.MyRuntimeTimer.Enabled = .T.
>
>Where MyTimer is your class for the timer you want to add. The timer will fire even in a toolbar if is added at runtime using CreateObject().
>
>Vlad
>
>>Hello.
>>I have a problem. I have a Toolbar. I placed a container in my toolbar.
>>Container has the timer control... Timer.Enabled = .F.
>>In the Container.MouseMove Event I have the following code Timer.Enabled = .T.
>>In Timer.Timer Event I have a code...for example..
>>WAIT "Timer.Timer Event" WINDOW NOWAIT, but this code doesn't work ...
>>Why ? I do not understand.
>>Thanks for any help.
>>Denis.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform