TiGaugeComponent.GetPointersPosition

TiGaugeComponent See Also

Used to get the position of a specific pointer at runtime.

function GetPointersPosition (Index: Integer): Double;

Description

Use GetPointersPosition to get the position of the pointer specified by Index.

For backward compatibility, the Position property of the gauge component will modify the position of Pointer index 0.

Example

Delphi

Value := iComponent.GetPointersPosition(1); //Gets the second pointer's position

C++ Builder

Value = iComponent->GetPointersPosition(1); //Gets the second pointer's position

Note: Index is 0 based. Pointer with Index 0 can never be deleted.

Contents | Index | Previous | Next