Vcl.Controls.TAlignInsertBeforeEvent
C++
typedef bool __fastcall (__closure *TAlignInsertBeforeEvent)(TWinControl* Sender, TControl* C1, TControl* C2);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.Controls.hpp | Vcl.Controls | Vcl.Controls |
Description
TAlignInsertBeforeEvent is the function type for an OnAlignInsertBefore event.
CustomAlignInsertBefore triggers the OnAlignInsertBefore event. OnAlignInsertBefore occurs for each pair of child controls with an Align property of alCustom. It can determine the order in which custom-aligned child controls are placed. OnAlignInsertBefore returns true if C2 should be presented before C1, and false otherwise.
TAlignInsertBeforeEvent has the following parameters:
Value | Meaning |
---|---|
Sender |
Parent control. |
C1 |
First control to be ordered. |
C2 |
Second control to be ordered. |