TCustomRangeBar.Centered

property Centered: Boolean;

Description

Determines how the handle is repositioned when Range changes.

If Centered is False (default), the control behaves similar to standard TControlScrollBar. That is it tries to preserve the Position property.

If Centered is True, the control changes Position, trying to keep the centre at the same location.

This property also influences how the handle is adjusted when range bar changes its Window size.

See Also

Position, Range, Window