TiSwitchLever.MouseControlStyle

TiSwitchLever

Specifies the mouse control style.

type TiMouseControlStyle = (imcsClickAnyWhere, imcsClickIndicator);

property MouseControlStyle : TiMouseControlStyle;

Description

Use MouseControlStyle to get or set the mouse control style.

These are the possible values:

Value
Meaning
imcsClickAnyWhere
The user can click anywhere on the switch to toggle.
imcsClickIndicator
The user must click on the position they want the switch to toggle.

Example

Delphi

iComponent.MouseControlStyle := imcsClickAnyWhere;

C++ Builder

iComponent->MouseControlStyle = imcsClickAnyWhere;

Contents | Index | Previous | Next