TIWTimer

TIWTimer

The TIWTimer is the IntraWeb equivalent of the TIWTimer from VCL. The TIWTimer is intended to be used in a IWForm only, as it needs to be rendered along with the IW Form. There is no effect if you add it on the Server Controller or User Session.

TIWTimer = class(TIWCustomControl)

Properties

property Enabled: Boolean;

Use this property to activate/deactivate the IWTimer.

property Interval: Integer;

Use this property to inform the amount of time, in milliseconds, that passes before the timer component initiates another OnTimer/OnAsyncTimer event.

Events

property OnTimer;

This event is triggered when a specified amount of time, determined by the Interval property, has passed.. This event forces the full page to be rendered, ie, it is a full submit event.

property OnAsyncTimer;

This event is triggered when a specified amount of time, determined by the Interval property, has passed..