[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Returns the aligned position of a custom-aligned child control, using the OnAlignPosition handler.
Source position: controls.pp line 2005
protected procedure TWinControl.CustomAlignPosition( |
AControl: TControl; |
var ANewLeft: Integer; |
var ANewTop: Integer; |
var ANewWidth: Integer; |
var ANewHeight: Integer; |
var AlignRect: TRect; |
AlignInfo: TAlignInfo |
); virtual; |
AControl |
|
The control to be placed. |
AlignRect |
|
The remaining client area, within which the control can be placed. |
AlignInfo |
|
Information about the current align process |
The given coordinates take into account the anchoring of AControl.
The handler updates the coordinates as required.
|
Type of an OnAlignInsertBefore handler. |
lazarus-ccr.sourceforge.net |