Timer

Inheritance Hierarchy

          IComponent

          ITimer

          Timer

Description

The Timer component is used to plan some of the Fore language commands in certain time periods.

Working with the Component

To provide component work, in the Interval property specify the time, after which the sequence of actions is repeated that is specified in the OnTimer event handler. After the Enabled property is set to True, the timer is activated and the specified actions are repeated with specified frequency.

Properties of the Timer Component

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components.
Components The Components property returns the child component.
Data The Data property is used to store any custom data.
Enabled The Enabled property determines whether the timer is active.
Interval The Interval property determines a timer interval.
Name The Name property determines a component name.
Tag The Tag property is not used by the compiler. The user can change the value of the Tag property and use it as he wishes.

Events of the Timer Component

  Event name Brief description
OnTimer The OnTimer event occurs after the timeout specified by the Interval property.

See also:

Standard Components