Wide Studio Programmer's Guide

Wide Studio Home
Up to


The timer



How to use the timer

Drop an instance of the WSCvtimer class on the section [NonGUI] of the object box dialog on some window or some form, and set the interval of firing by milli second. It will fires the event WSEV_ACTIVATE after the interval. So set the event procedure with WSEV_ACTIVATE to the timer.
There are two kind of the timers. One fires only once, another continuously fires every interval. If the property:WSNcont is True, it will continuously fires. It is possible to start or stop the timer by the property: WSNrunning. If the property: WSNcont is False,after firing,the timer will stop, and the property: WSNrunning will become False.
Document Release 3.0

For Use with Wide Studio Release 3.0, Summer 2002


Wide Stuido Home | Up to

Copyright(C) T. Hirabayashi, 2000-2002 Last modified: June 20, 2002