Search Locate Previous Next Contents

Timer (TI)


Description
Adds a timer to your form. Use the TI (timer) event to trigger actions.

TI : time+„1 ª 'tick' : time

Be careful with timers which echo to the session (as above) – it can be very hard to kill these as you never get the opportunity to type anything useful! Maybe you should set #.CPro.Reset on a function key before experimenting.

A handy use for a timer is to close an application banner after (say) 4 seconds: just set a timer at 4000 and add an action for:

TI: :’Return 0: :

which will close the form automatically.

Class Property Table
NameTypeDefaultDescription
IntervalRuntimeInterval (time in ms)

Class-specific Events
TITimer


Continue to: Track Bar (TKB)
© Copyright Causeway Graphical Systems Ltd 2003