Position

Graphics32

TCustomGaugeBar.Position

property Position: Integer;

Description

Specifies the current position of the scrollbar.

Read Position to determine the current position of the thumb tab.

Set Position to programmatically move the handle. The available range of positions is determined by the difference between the Max property and the Min property.

When Position is changed programmatically, gauge bar will generate OnChange event, when it is changed by user (by clicking scrolling buttons, dragging the handle or clicking on the background area), the control will additionally generate OnUserChange event.

See Also

Max, Min, TArrowBar.OnChange, TArrowBar.OnUserChange