Vcl.ExtCtrls.TTimer.OnTimer
Delphi
property OnTimer: TNotifyEvent read FOnTimer write SetOnTimer;
C++
__property System::Classes::TNotifyEvent OnTimer = {read=FOnTimer, write=SetOnTimer};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TTimer |
Description
Occurs when a specified amount of time, determined by the Interval property, has passed.
Write an OnTimer event handler to execute an action at regular intervals.
The Interval property of a timer determines how frequently the OnTimer event occurs. Each time the specified interval passes, the OnTimer event occurs.
See Also
Code Examples