TiSwitchRocker3Way.Value

TiSwitchRocker3Way

Use Value as a variable for storing changes when the user clicks the switch up or down. The amount Value is changed for each click is specified by the Increment property.

property Value : Double;

Description

Use Value as a variable for storing changes when the user clicks the switch up or down. The amount Value is changed for each click is specified by the Increment property. When the button is clicked up, Increment is added to the Value property. When the button is clicked down, Increment is subtracted from the Value property.

This property is provided so that you do need to maintain a separate variable outside of the control and have to write code to update it.

Example

Delphi

Value := iComponent.Value;

C++ Builder

Value = iComponent->Value;

Contents | Index | Previous | Next