Unit: XIBase
Class: TxiBaseControlNode
Declaration:
procedure LayoutControl(aParent: TWinControl; const aRect: TRect; var aLeftTop: TPoint;
const aFillUp: Boolean = False); virtual; abstract;
The main layout routine for the control represented by the node. aRect is a rectangular area within the aParent container that the control should fit in, placed at aLeftTop. If it does not fit, the ExiDoesntFit exception must be raised. If aFillUp is true, the control should fill up the entire aRect, if it can (it can be used with such control as groupboxes).
Note that you should not create the control within this method as it can be called multiple times during the layout procedure. Instead, you should override the CreateControl method to create the controls you need.
 
| The CHM file was converted to HTML by chm2web software. |