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

TAlignInsertBeforeEvent

Type of an OnAlignInsertBefore handler.

Declaration

Source position: controls.pp line 1909

type TAlignInsertBeforeEvent = function(

  Sender: TWinControl;

  Control1: TControl;

  Control2: TControl

):Boolean of object;

Arguments

Sender

  

The Parent control

Function result

True if Control2 shall be placed before Control1 is placed.

Description

The handler determines the order, in which both controls are aligned later.

See also

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.