RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCategoryPanel.UpdateControlOriginalParentSize Method

Updates the original size of the parent control.

Pascal
procedure UpdateControlOriginalParentSize(AControl: TControl; var AOriginalParentSize: TPoint); override;
C++
virtual __fastcall UpdateControlOriginalParentSize(TControl * AControl, TPoint AOriginalParentSize);

UpdateControlOriginalParentSize is a protected method that updates the original size of the parent control. It is used internally to update the anchor rules of the control.  

The TCustomCategoryPanel implementation of UpdateControlOriginalParentSize reduces the height or the control by the height of the header. 

 

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