Vcl.Ribbon.TCustomRibbonGroup.SetBounds
Delphi
procedure SetBounds(ALeft: Integer; ATop: Integer; AWidth: Integer;
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.Ribbon.pas Vcl.Ribbon.hpp |
Vcl.Ribbon | TCustomRibbonGroup |
Description
Sets the Left, Top, Width, and Height properties in a single operation.
Use SetBounds to change all of the ribbon group's boundary properties at one time. The same effect can be achieved by setting the Left, Top, Width, and Height properties separately, but SetBounds changes all four properties at once.
Specify the values for the Left and Width properties as values of ALeft
and AWidth
, respectively. The ATop
value is fixed to 3. The AHeight
property is the same for all the ribbon groups in the page and is determined by the GetGroupHeight method.