Show: Delphi
C++
Display Preferences
Vcl.ExtCtrls.TTimer.OnTimer
From XE2 API Documentation
Delphi
property OnTimer: TNotifyEvent read FOnTimer write SetOnTimer;
C++
__property System::Classes::TNotifyEvent OnTimer = {read=FOnTimer, write=SetOnTimer};
Contents |
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
- ActiveControl (Delphi)
- ActiveControl (C++)
- Football Sample
- Swat Sample
- Wpm Sample
- Meteor Sample
- Blocks Sample