Vcl.ExtCtrls.TCustomCategoryPanel.UpdateControlOriginalParentSize
Delphi
procedure UpdateControlOriginalParentSize(AControl: TControl; var AOriginalParentSize: TPoint); override;
C++
virtual void __fastcall UpdateControlOriginalParentSize(Vcl::Controls::TControl* AControl, System::Types::TPoint &AOriginalParentSize);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomCategoryPanel |
Description
Updates the original size of the parent control.
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.