TiSwitchQuad.ValueX

TiSwitchQuad

Use ValueX as a variable for storing changes when the user clicks the left or right button. The amount ValueX is changed for each click is specified by the IncrementX property.

property ValueX : Double;

Description

Use ValueX as a variable for storing changes when the user clicks the left or right button. The amount ValueX is changed for each click is specified by the IncrementX property. When the right button is clicked, IncrementX is added to the ValueX property. When the left button is clicked, IncrementX is subtracted from the ValueX 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.ValueX;

C++ Builder

Value = iComponent->ValueX;

Contents | Index | Previous | Next