TiLinearGauge.SetPointersOffSet

TiLinearGauge See Also

Used to set the offset of a specific pointer at runtime.

function SetPointersOffSet (Index: Integer, Value: Integer);

Description

Use SetPointersOffSet to Set the offset of the pointer specified by Index.

For backward compatibility, the PointerOffSet property of the gauge component will modify the offset of Pointer index 0.

Example

Delphi

iComponent.SetPointersOffSet(1, 5); //Sets the second pointer's offset

C++ Builder

iComponent->SetPointersOffSet(1,5 ); //Sets the second pointer's offset

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

Contents | Index | Previous | Next