TiSlidingCompass.Pointer1Position

TiSlidingCompass See Also

Specifies the current value represented by Pointer #1.

property Pointer1Position : Double;

Description

Use Pointer1Position to get or set the value represented by Pointer #1. Pointer1Position can be positive or negative and can also be multiples of 360. Note that Pointer #1 does not move, but the scale labels move with respect to the pointer, which is always fixed at the top of the control.

The Sliding Compass has a circular, 360 degree scale. If you use values below 0 or above 360, you would simply wrap around the scale.

Example

Delphi

iComponent.Pointer1Position := 65;

C++ Builder

iComponent->Pointer1Position = 65;

Contents | Index | Previous | Next