of = CREATEOBJECT("TimedForm")
of.width = _screen.width
of.height = _screen.height
of.visible = .T.
REPORT FORM PREVIEW IN WINDOW TimedForm
DEFINE CLASS TimedForm AS Form
PROCEDURE Init
THIS.AddObject("Timer","Timer5000")
ENDPROC
ENDDEFINE
DEFINE CLASS Timer5000 AS Timer
Interval = 5000
PROCEDURE Timer
THISFORM.Release
ENDPROC
ENDDEFINE
|