Enabled: Enables [True] or disables [False] the timer.
Interval: Interval (in milliseconds) at which the Timer event will be triggered. When this property is set to a negative value or zero, the timer will behave as in the disabled state.
AboutBox: Displays the About dialog box
Timer: When the timer is enabled and has a positive interval, this event is invoked at every interval.
<OBJECT ID=Timer1 CLASSID="clsid:59CCB4A0-727D-11CF-AC36-00AA00A47DD2" CODEBASE="http://activex.microsoft.com/controls/iexplorer/x86/ietimer.cab#version=4,71,115,0"> ALIGN=MIDDLE> <PARAM name="Interval" VALUE="100"> <PARAM name="Enabled" VALUE="True"> </OBJECT> <OBJECT ID=Timer2 CLASSID="clsid:59CCB4A0-727D-11CF-AC36-00AA00A47DD2" CODEBASE="http://activex.microsoft.com/controls/iexplorer/x86/ietimer.cab#version=4,71,115,0"> ALIGN=MIDDLE> <PARAM name="Interval" VALUE="500"> <PARAM name="Enabled" VALUE="True"> </OBJECT> <SCRIPT LANGUAGE="VBSCRIPT"> Sub Timer1_timer label.Angle = (label.Angle + 5) mod 360 End Sub Sub Timer2_timer cool.forecolor = rnd() * 16777216 End Sub </SCRIPT>
Back to ActiveX Controls Programming Reference