RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.UpdateBoundsRect Method

Changes the Top, Left, Width, and Height properties of the control, but doesn't update its screen image and bypasses all resize events.

Pascal
procedure UpdateBoundsRect(const R: TRect);
C++
__fastcall UpdateBoundsRect(const TRect R);

UpdateBoundsRect is used internally by controls to stay synchronized with changes made by the underlying Windows screen object. UpdateBoundsRect updates the properties to match those passed in the rectangle as the R parameter. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!