What did I do wrong with this code? Why TTimer() is not action anything?
oTimer:lActive is .T. but don't do anything.
Code: Select all | Expand
#include 'Fivewin.ch'*----------------*Function mainlocal oDlg, oTimerDEFINE DIALOG oDlg FROM 0, 0 TO 300, 400 PIXELDEFINE TIMER oTimer OF oDlg INTERVAL 100 ACTION MsgInfo('Test')ACTIVATE DIALOG oDlg ON PAINT (oTimer:Activate()) ; VALID (oTimer:DeActivate())return nil
Regards,
Dutch