Vcl.ExtCtrls.TCustomCategoryPanel.SetBounds
Delphi
procedure SetBounds(ALeft, ATop, AWidth, AHeight: Integer); override;
C++
virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomCategoryPanel |
Description
Changes the position and size of the category panel in a single operation.
Changes the position and size of the category panel within the constraints of the category panel group. SetBounds will not allow the height to be less than the header height of the category panel. Other category panels within the same category panel group will be adjusted accordingly. By calling SetBounds instead of adjusting the Left, Top, Width, and Height individually, you ensure that the panel will not repaint between changes.