TiImageDisplay.TimerEnabled

TiImageDisplay

Controls whether the built-in timer is enabled.

property TimerEnabled : Boolean;

Description

Use TimerEnabled to enable or disable cycling of images in the component. If TimerEnabled is True, then images are cycled according to the TimerInterval property. The direction of the cycle is determed by the TimerIncrementUp property.

Note: if TimerAutoRepeat is set to FALSE, the images will stop cycling when the end of the image list is reached (or the start is reached if TimerIncrementUp is TRUE), even though the timer is still enabled. You will need to manually call GotoFirstImage or GotoLastImage to keep the image cycling going if you have set TimerAutoRepeast to FALSE. If you set TimerAutoRepeat to TRUE, the this is done for you automatically.

Example

Delphi

iComponent.TimerEnabled := True;

C++ Builder

iComponent->TimerEnabled = True;

Contents | Index | Previous | Next