FMX.Types.IFMXTimerService.CreateTimer

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateTimer(Interval: Integer; TimerFunc: TTimerProc): TFmxHandle;

C++

virtual NativeUInt __fastcall CreateTimer(int Interval, TTimerProc TimerFunc) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
FMX.Types.pas
FMX.Types.hpp
FMX.Types IFMXTimerService

Description

In descendants, CreateTimer implements functionality to create a new timer that will call the TimerFunc function at the specified interval.

The interval should be specified in milliseconds. The timer will continue to call TimerFunc until it is destroyed.

See Also