I have a VFP7.0 Sp1 exe which starts by instantiating 3 timers in _screen, Simple stuff - one just shows the current time:
***
nTime3Int = 1000
_SCREEN.ADDOBJECT('currevent','eventlab')
_screen.currevent.top = 10
_Screen.AddObject('Timer3','myTimer3')
_screen.timer3.interval = nTime3Int
_screen.timer3.enabled = .t.
_screen.currevent.visible = .t.
DEFINE CLASS myTimer3 as Timer
PROCEDURE Timer
_screen.currevent.caption = ttoc(datetime())
ENDPROC
ENDDEFINE
DEFINE CLASS eventlab AS Label
Caption = ""
Left = 50
Top = 20
width = 370
fontbold=.t.
fontsize=8
backstyle = 0
ENDDEFINE
***
Two other timers perform different functions.
On a dozen Win2000 SP3 machines, everything works perfectly. On another, the NONE of the timers fire UNLESS you jiggle the main window or click the menu bar!
Any ideas why and how to solve? My user can't sit there jiggling the window all day!
Thanks
William
***
nTime3Int = 1000
_SCREEN.ADDOBJECT('currevent','eventlab')
_screen.currevent.top = 10
_Screen.AddObject('Timer3','myTimer3')
_screen.timer3.interval = nTime3Int
_screen.timer3.enabled = .t.
_screen.currevent.visible = .t.
DEFINE CLASS myTimer3 as Timer
PROCEDURE Timer
_screen.currevent.caption = ttoc(datetime())
ENDPROC
ENDDEFINE
DEFINE CLASS eventlab AS Label
Caption = ""
Left = 50
Top = 20
width = 370
fontbold=.t.
fontsize=8
backstyle = 0
ENDDEFINE
***
Two other timers perform different functions.
On a dozen Win2000 SP3 machines, everything works perfectly. On another, the NONE of the timers fire UNLESS you jiggle the main window or click the menu bar!
Any ideas why and how to solve? My user can't sit there jiggling the window all day!
Thanks
William