TiSevenSegmentClock.CountDirection

TiSevenSegmentClock See Also

Specifies the clock count direction when the CountTimerEnabled property is set to TRUE.

type TiCountDirection = (icdDown, icdUp);

property CountDirection : TiCountDirection;

Description

Set CountDirection to specify the clock count direction when the CountTimerEnabled property is set to TRUE. If the count direction is down and the clock value reaches 0, the CountTimerEnabled is automatically set to FALSE and the OnCountDownComplete event is fired.

These are the possible values:

Value
Meaning
icdDown
Counts down to 0.
icdUp
Counts up to 23:59:59, and then rolls over and starts again from 0.

Example

Delphi

iComponent.CountDirection := icdDown;

C++ Builder

iComponent->CountDirection = icdDown;

Contents | Index | Previous | Next