[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TAlignInfo

Used in custom alignment (alCustom).

Declaration

Source position: controls.pp line 1900

type TAlignInfo = record

  AlignList: TFPList;

  

The list of controls currently being aligned.

  ControlIndex: Integer;

  

Index of current control.

  Align: TAlign;

  

The kind of alignment currently processed (always alCustom).

  Scratch: Integer;

  

For internal use.

end;

Description

This record was added only after D7. It's used in CustomInsertBefore and CustomAlignPosition methods and handlers.

See also

TWinControl.CustomAlignPosition

  

Returns the aligned position of a custom-aligned child control, using the OnAlignPosition handler.

TWinControl.CustomAlignInsertBefore

  

Returns the placement order of custom-aligned child controls, using the OnAlignInsertBefore handler.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.