TiSwitchRocker3Way.State

TiSwitchRocker3Way

Indicates the current state of the switch.

type TiSwitchState = (issDown, issCenter, issUp);

property State : TiSwitchState;

Description

Use State to get the current state of the switch.

These are the possible values:

Value
Meaning
issDown
Up visual state - Being held down by the user with the keyboard or mouse.
issCenter
Center visual state.
issUp
Down visual state - Being held down by the user with the keyboard or mouse.

Example

Delphi

Value := iComponent.State;

C++ Builder

Value = iComponent->State;

Contents | Index | Previous | Next