[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Remove a previously docked control and put a new control in its place
Source position: controls.pp line 1212
public function TControl.ReplaceDockedControl( |
Control: TControl; |
NewDockSite: TWinControl; |
DropControl: TControl; |
ControlSide: TAlign |
):Boolean; |
Control |
|
The old control that was previously docked at this site |
NewDockSite |
|
The new site for docking; used if DropControl is nil |
DropControl |
|
The control site to be used for docking, unless it is nil when it is igored. Passed straight through as an argument to ManualDock |
ControlSide |
|
The side to which the new control is to be aligned; passed straight through as an argument to ManualDock |
Returns True if a docked control has been successfully replaced with a new one
Checks to see whether there is a previously docked control,
and removes it, then puts the new control in its place
|
ManualDock - permits operator-defined docking |
lazarus-ccr.sourceforge.net |