TiGaugeComponent.SetPointersColor

TiGaugeComponent See Also

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

function SetPointersColor (Index: Integer, Value: TColor);

Description

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

iComponent.SetPointersColor(1, clRed); //Sets the second pointer's color

C++ Builder

iComponent->SetPointersColor(1, clRed); //Sets the second pointer's color

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

Contents | Index | Previous | Next