Hi,
I need to know how to access a timer that my main.prg creates by running the "AppBaseTimer.prg" Here is the top 16 lines of the "AppBaseTimer" code.
I need to control it from various forms and code. I have tried _vfp and _screen and otimeobj.interval and several other with no success.
Thanks, Stanley
I need to know how to access a timer that my main.prg creates by running the "AppBaseTimer.prg" Here is the top 16 lines of the "AppBaseTimer" code.
I need to control it from various forms and code. I have tried _vfp and _screen and otimeobj.interval and several other with no success.
Thanks, Stanley
Code:
Public otimerobj
otimerobj = Createobject('MyTimer')
Define Class MyTimer As Container
Add Object otimerobj As timerclock
Enddefine
Define Class timerclock As Timer
Interval = 8000
**
Procedure Timer
If gcmodulename="DRI FullServer"
Else
If m.gnshutseconds=0