WideStudio/MWT Logo
WideStudio/MWT
Programming Guide
WideStudio/MWT 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 kind of the timers. One fires only once, but the other continuously fires at every interval. If the property: "cont" is True, it will continuously fires. It is possible to start or stop the timer by the property: "running". If the property: "cont" is False,after firing,the timer will stop and the property: "running" will become False.

Document Release 3.90 for WideStudio/MWT ver 3.90, Jul 2005


WideStudio/MWT documents index | Table of contents

Copyright(C) WideStudio/MWT Development Team, 1999-2005 Last modified: Jul 31, 2005