| WideStudio Programming Guide | WideStudio Index Table of contents

> ## 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 millisecond. It will fire the event WSEV_ACTIVATE after the interval. So set the event procedure with WSEV_ACTIVATE to the timer.
> There are two kinds of timers. One fires only once, but the other continuously fires at every interval. If the property: WSNcont is True, it will continuously fire. It is possible to start or stop the timer by property: WSNrunning. If the property: WSNcont is False after firing, the timer will stop and the property: WSNrunning will become False.

Document Release 3.70 for WideStudio ver 3.70, May 2004

WideStudio documents index | Table of contents

Copyright(C) WideStudio Development Team, 1999-2004 | Last modified: May 25, 2004