Skip to main content

TcxScrollBar.Position Property

Specifies the current scrollbar value.

Declaration

property Position: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

The Position property value is always synchronized with the thumb’s position. End-users can scroll the thumb to change the property value. You can handle the OnScroll and OnChange events to respond to thumb scrolling and Position updates.

Note

The Position property value cannot fall outside the scrollable range specified via the Min and Max properties. If you assign a value outside the scrollable range, the property will be automatically assigned the closest range limit.

The default value of the Position property is 0.

See Also