FMX.Types.IFMXTimerService.CreateTimer

提供: RAD Studio API Documentation
移動先: 案内検索

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 を呼び出し続けます。

関連項目