RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScrollBar.SetParams Method

Sets the Position, Max, and Min property values all at once.

Pascal
procedure SetParams(APosition: Integer; AMin: Integer; AMax: Integer);
C++
__fastcall SetParams(int APosition, int AMin, int AMax);

Use the SetParams method to set the Position, Min, and Max property values all at once, preventing repaints that would occur if each property value were set separately. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!