TCustomButtonPanel.CustomAlignPosition procedure
Returns the aligned position for a custom-aligned child control, using the
OnAlignPosition event handler.
Declaration
procedure CustomAlignPosition(AControl: TControl;
var ANewLeft: Integer;
var ANewTop: Integer;
var ANewWidth: Integer;
var ANewHeight: Integer;
var AlignRect: TRect;
AlignInfo: TAlignInfo); overrideDescription
The derived coordinates take into account the anchoring for
AControl.
The OnAlignPosition handler can update the coordinates as required.
This description is the one of Controls.TWinControl.CustomAlignPosition.
See also
- TAlignInsertBeforeEvent
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
