TiGaugeComponent.GetPointersColor

TiGaugeComponent See Also

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

function GetPointersColor (Index: Integer): TColor;

Description

Use GetPointersColor to get the color of the pointer specified by Index.

For backward compatibility, the PointerColor property of the gauge component will modify the color of Pointer index 0.

Example

Delphi

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

C++ Builder

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

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

Contents | Index | Previous | Next