[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Creates a timer with the given callback method.
Source position: interfacebase.pp line 171
public function TWidgetSet.CreateTimer( |
Interval: Integer; |
TimerProc: TWSTimerProc |
):TLCLHandle; virtual; abstract; |
Interval |
|
The timer interval before the callback is executed. |
TimerProc |
|
The callback method executed when the timer interval has elapsed. |
The handle (or ID) for the timer. Zero on failure.
Declared as an abstract virtual method in TWidgetSet. Must be implemented in a descendent class to use the platform-specific mechanism(s) required for the implementation.
Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type in the return value.
|
Destroys the timer with the specified handle. |
|
|
Type used for a timer callback procedure. |
|
|
The type used for handles in LCL applications, components, controls, and widget set classes. |
Version 4.0 | Generated 2025-05-03 | Home |