Skip to main content

TcxScrollBar.SetScrollParams(Integer,Integer,Integer,Integer,Boolean) Method

Applies specified scrollbar parameters and optionally postpones scrollbar repainting.

Declaration

procedure SetScrollParams(AMin: Integer; AMax: Integer; APosition: Integer; APageSize: Integer; ARedraw: Boolean = True);

Parameters

Name Type
AMin Integer
AMax Integer
APosition Integer
APageSize Integer
ARedraw Boolean

Remarks

Method parameters specify the new Min, Max, Position, and PageSize property values. If you need to apply these new parameters without immediately repainting the scrollbar, pass False as the ARedraw parameter.

See Also