Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer in Toolbar !
Message
From
17/11/1997 12:22:58
 
 
To
16/11/1997 13:24:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00060548
Message ID:
00060694
Views:
29
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform