TCustomButtonPanel.CustomAlignInsertBefore function
Indicates whether the specified controls were custom-aligned using the OnAlignInsertBefore handler.
Declaration
function CustomAlignInsertBefore(AControl1: TControl;
AControl2: TControl): Boolean
; overrideDescription
CustomAlignInsertBefore is a
Boolean function which
indicates whether the specified controls need to be custom-aligned using the
OnAlignInsertBefore handler. CustomAlignInsertBefore is called (circuitously)
when auto-sizing is performed in the DoAutoSize method, and the Align property
in the control is alCustom.
AControl1 and
AControl2 are child controls examined to
determine the alignment order in the parent control.
The return value is False if OnAlignInsertBefore has not been assigned in the control, or when the controls do not require custom alignment. True indicates that the controls are swapped in the alignment order.
This description is the one of Controls.TWinControl.CustomAlignInsertBefore.
See also
- OnAlignInsertBefore
- DoAutoSize
- TAlignInsertBeforeEvent
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
