TiGaugeComponent.SetPointersPosition

TiGaugeComponent See Also

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

function SetPointersPosition (Index: Integer, Value: Double);

Description

Use SetPointersPosition to set 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

iComponent.SetPointersPosition(1, 25.5); //Sets the second pointer's position

C++ Builder

iComponent->SetPointersPosition(1, 25.5); //Sets the second pointer's position

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

Contents | Index | Previous | Next