Vcl.ExtCtrls.TTimer.Interval

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Interval: Cardinal read FInterval write SetInterval default 1000;

C++

__property unsigned Interval = {read=FInterval, write=SetInterval, default=1000};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TTimer

Description

Determines the amount of time, in milliseconds, that passes before the timer component initiates another OnTimer event.

Interval determines how frequently the OnTimer event occurs. Each time the specified interval passes, the OnTimer event occurs.

Use Interval to specify any cardinal value as the interval between OnTimer events. The default value is 1000 (one second).

Note: A 0 value is valid, however the timer will not call an OnTimer event for a value of 0.

See Also

Code Examples