Vcl.Controls.TControl.UpdateBoundsRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UpdateBoundsRect(const R: TRect);

C++

void __fastcall UpdateBoundsRect(const System::Types::TRect &R);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

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

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.

See Also