[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.CreateTimer

Creates a timer with the given callback method.

Declaration

Source position: interfacebase.pp line 163

public function TWidgetSet.CreateTimer(

  Interval: Integer;

  TimerProc: TWSTimerProc

):THandle; virtual; abstract;

Arguments

Interval

  

The time interval.

TimerProc

  

The callback method.

Function result

The timer ID, zero on failure.