[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Type of an OnAlignPosition handler.
Source position: controls.pp line 1910
type TAlignPositionEvent = procedure( |
Sender: TWinControl; |
Control: TControl; |
var NewLeft: Integer; |
var NewTop: Integer; |
var NewWidth: Integer; |
var NewHeight: Integer; |
var AlignRect: TRect; |
AlignInfo: TAlignInfo |
) of object; |
Sender |
|
The Parent control |
Control |
|
The control to place. |
AlignRect |
|
The remaining ClientRect |
AlignInfo |
|
Information about the current align process |
The handler positions Control by changing the given coordinates.
|
Returns the aligned position of a custom-aligned child control, using the OnAlignPosition handler. |
lazarus-ccr.sourceforge.net |