[Overview][Constants][Types][Classes][Procedures and functions][Index] |
CreateFormAndDockWithSplitter - add a splitter to Side and dock to it. Returns True if successful
Source position: ldockctrl.pas line 257
protected function TCustomLazControlDocker.CreateFormAndDockWithSplitter( |
Layout: TLazDockConfigNode; |
Side: TAnchorKind |
):Boolean; |
Add a splitter to Side and dock to it. For example:
Side=akLeft --------+ -------------+ ---+| ---+#+------+| A || A |#| || ---+| ---+#| || ====| -> ====#| Self || ---+| ---+#| || B || B |#| || ---+| ---+#+------+| --------+ -------------+
If A has no parent, a TLazDockForm is created.
To get space for Self, either A,B are shrunk and/or the parent of A,B is enlarged (including the grand parents of A,B)
lazarus-ccr.sourceforge.net |