FMX.Types.TTimer.Interval

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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
FMX.Types.pas
FMX.Types.hpp
FMX.Types 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 value of 0 is valid; however, the timer will not call an OnTimer event for a value of 0.

See Also

Code Examples