FMX.Types.AlignObjects
Delphi
procedure AlignObjects(const AParent: TFmxObject; APadding: TBounds; AParentWidth, AParentHeight: Single; var ALastWidth, ALastHeight: Single; var ADisableAlign: Boolean);
C++
extern DELPHI_PACKAGE void __fastcall AlignObjects(TFmxObject* const AParent, TBounds* APadding, float AParentWidth, float AParentHeight, float &ALastWidth, float &ALastHeight, bool &ADisableAlign);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Performs the alignment of the visual FireMonkey objects on the surface of a FireMonkey form.
AParent is the parent object for this object.
AMargins specifies the margins of this object.
AParentWidth specifies the width of the parent object.
AParentHeight specifies the height of the parent object.
ALastWidth is the last known width of this object.
ALastHeight is the last known height of this object.
ADisableAlign specifies whether this object should be aligned or not when a call to AlignObjects is issued.