TiSwitchLed.CaptionAlignment

TiSwitchLed

Specifies the alignment of the caption relative to the indicator.

type TiSwitchLedCaptionAlignment = (islcaIndicator, islcaOppisiteSide);

property CaptionAlignment : TiSwitchLedCaptionAlignment;

Description

Set CaptionAlignment to specify the alignment of the caption relative to the indicator.

These are the possible values:

Value
Meaning
islcaIndicator
Label is aligned to the same side as the indicator.
islcaOppisiteSide
Label is aligned to the side opposite the side the indicator is aligned to.

Note: IslcaOppisiteSide is misspelled. Since we need to keep backward compatibility, this misspelling cannot be corrected.

Example

Delphi

iComponent.CaptionAlignment := islcaIndicator;

C++ Builder

iComponent->CaptionAlignment = islcaIndicator;

Contents | Index | Previous | Next