FMX.Types.IFMXTimerService.CreateTimer
Delphi
function CreateTimer(Interval: Integer; TimerFunc: TTimerProc): TFmxHandle;
C++
virtual NativeUInt __fastcall CreateTimer(int Interval, TTimerProc TimerFunc) = 0 ;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IFMXTimerService |
説明
下位クラスでは、CreateTimer は、指定された間隔で TimerFunc 関数を呼び出す、新しいタイマを作成するための機能を実装します。
この間隔は、ミリ秒で指定します。 タイマは、破壊されるまで TimerFunc を呼び出し続けます。