TiSwitchPanel.MouseControlStyle
TiSwitchPanel
Specifies the mouse control style when clicking on the Knob.
type TiSwitchPanelMouseControlStyle = (ispmcsRotate, ispmcsIncrement);
property MouseControlStyle : TiSwitchPanelMouseControlStyle ;
Description
Use MouseControlStyle to read or change the mouse control style behavior when
clicking on the Knob.
These are the possible values:
Value
Meaning
ispmcsRotate
The user must rotate the Knob to change the position.
ispmcsIncrement
The position will increment by 1 and then loop back to the beginning for every
click on the Knob..
Note: clicking directly on the Position Caption will move the Knob to that
Position, regardless of this property setting. This property only affects the Mouse
Control Style of the Knob.
Example
Delphi
iComponent.MouseControlStyle := ispmcsRotate;
C++ Builder
iComponent->MouseControlStyle = ispmcsRotate;
Contents | Index | Previous | Next