Sign in Join
Wiki copytemporary

DockedFormEditor: what changed

Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
1-The DockedFormEditor is a package for the Lazarus IDE that docks a form next to source editor unit. This package is shipped with Lazarus version 2.1 upwards.
1+The DockedFormEditor is a package for the Lazarus IDE that docks a form next to source editor unit. This package is shipped with Lazarus version 2.1 upwards.
22
33## Why is it useful?
44
5-If you don't like to search a form related to a unit, you can switch in the source editor pages. There you find the form docked as tab. Useful is a combination of packages **[[AnchorDockingDsgn]]** with **DockedFormEditor**, if you don't like the default "separate windows" look of the Lazarus IDE and prefer a single window.
5+If you don't like to search a form related to a unit, you can switch in the source editor pages. There you find the form docked as tab. Useful is a combination of packages **[[AnchorDockingDsgn]]** with **DockedFormEditor** , if you don't like the default "separate windows" look of the Lazarus IDE and prefer a single window.
66
7-DockedFormEditor is the replacement and initially forked form Sparta_DockedFormEditor. If you used this package in the past, please switch to DockedFormEditor as all Sparta packages are now defined as deprecated and will be removed in a future version of Lazarus.
7+DockedFormEditor is the replacement and initially forked form Sparta_DockedFormEditor. If you have used this package in the past, please switch to DockedFormEditor as all Sparta packages are deprecated and have been removed from Lazarus.
88
99## Installation
1010
11-- Uninstall any other docking managers (e.g., easydockmgrdsgn) and especially **Sparta_DockedFormEditor**!
12-- Install this package (and maybe **[[AnchorDockingDsgn]]**) per MainMenu -\> Package -\> Install/Uninstall Packages... -\> check the package **dockedformeditor**.
13-- Now recompile Lazarus IDE.
11+ * Uninstall any other docking managers (e.g., easydockmgrdsgn) and especially **Sparta_DockedFormEditor**!
12+ * Install this package (and maybe **[[AnchorDockingDsgn]]**) per MainMenu -> Package -> Install/Uninstall Packages... -> check the package **dockedformeditor**.
13+ * Now recompile Lazarus IDE.
1414
1515## Layout
1616
17-After installation there are the design tabs docked next to source editor unit:
17+After installation there are the design tabs docked next to source editor unit:
1818
19-![](/wiki-images/f/f6/DockedLayout1.png)
19+[![DockedLayout1.png](/wiki-images/f/f6/DockedLayout1.png)](</File:DockedLayout1.png>)
2020
2121## Pages
2222
2323### Code
2424
25-In the tab Code is the source editor, where you can implement the logic of your app.
25+In the tab Code is the source editor, where you can implement the logic of your app.
2626
27-![](/wiki-images/7/70/DockedCode.png)
27+[![DockedCode.png](/wiki-images/7/70/DockedCode.png)](</File:DockedCode.png>)
2828
2929### Form
3030
31-In the tab Form is the default form designer. Without this package it is a separate window.
31+In the tab Form is the default form designer. Without this package it is a separate window.
3232
33-![](/wiki-images/6/65/DockedForm.png)
33+[![DockedForm.png](/wiki-images/6/65/DockedForm.png)](</File:DockedForm.png>)
3434
3535### Anchors
3636
37-In the tab Anchors is a optional anchor designer. It's follows the WYSIWYG concept and your form reacts at runtime the same as at designtime. It can be used simultaneously with default Anchor Editor:
37+In the tab Anchors is a optional anchor designer. It's follows the WYSIWYG concept and your form reacts at runtime the same as at designtime. It can be used simultaneously with default Anchor Editor:
3838
39-- You can snap a control border or point with the grips and anchor it to a next or parent control.
40-- Sizing or positioning without anchoring are possible with mouse.
41-- With \<Ctrl\> + mouse you can change the border around a control.
42-- Constraints of a control are noted.
43-- Per popup menu a control can simply fixed on paranet or this fixing can be removed.
44-- All properties affected per Anchor Designer are shown in hint of control.
39+ * You can snap a control border or point with the grips and anchor it to a next or parent control.
40+ * Sizing or positioning without anchoring are possible with mouse.
41+ * With <Ctrl> \+ mouse you can change the border around a control.
42+ * Constraints of a control are noted.
43+ * Per popup menu a control can simply fixed on paranet or this fixing can be removed.
44+ * All properties affected per Anchor Designer are shown in hint of control.
4545
46-![](/wiki-images/8/8a/DockedAnchors.png)
46+[![DockedAnchors.png](/wiki-images/8/8a/DockedAnchors.png)](</File:DockedAnchors.png>)
4747
4848## Options
4949
50-There are some options, found after package installation, under MainMenu -\> Tools -\> Options ... -\> Docked Form Editor. Next to some color definitions you find:
50+There are some options, found after package installation, under MainMenu -> Tools -> Options ... -> Docked Form Editor. Next to some color definitions you find:
5151
52-- Tab position: defines the position of the tabs Code, Form, Anchors
53-- Force Refreshing At Sizing: if the resizing eats to much time, this option can be deactivated
54-- Capture Distance: this is the minimal distance in pixel to catch a control with mouse
55-- Automatically treat Align properties: the Anchor Designer can only work with Anchors, so Aligns are translated to Anchors when this option is activated
56-- Automatically treat BorderSpacing properties: allow Anchor designer to change all Borders (Around, Left, Top, Right, Bottom) to fit in
57-- Allow size changing: you can change the size of a control or you can really only set or remove Anchors and BorderSpacing
52+ * Tab position: defines the position of the tabs Code, Form, Anchors
53+ * Force Refreshing At Sizing: if the resizing eats to much time, this option can be deactivated
54+ * Capture Distance: this is the minimal distance in pixel to catch a control with mouse
55+ * Automatically treat Align properties: the Anchor Designer can only work with Anchors, so Aligns are translated to Anchors when this option is activated
56+ * Automatically treat BorderSpacing properties: allow Anchor designer to change all Borders (Around, Left, Top, Right, Bottom) to fit in
57+ * Allow size changing: you can change the size of a control or you can really only set or remove Anchors and BorderSpacing
5858
5959## Limits
6060
61-- Tested on Windows7, 10, Linux Mint Cinnamon with GTK2, QT4, QT5.
61+ * Tested on Windows7, 10, Linux Mint Cinnamon with GTK2, QT4, QT5.
6262
6363## Known Issues
6464
65-- When the designed form / frame is moved out of screen, there the form has no designer grid (dots).
66-- Qt5 shows own menu in form, this isn't shown in the anchor designer.
67-- Designer: mouse wheel to scroll content doesn't work - csDesigning is set and form doesn't get a LM_MOUSEWHEEL message.
68-- If main menu is visible, the height of the client area is wrong, see [Issue \#38701](https://bugs.freepascal.org/view.php?id=38701)
69-- Form size is limited to screen size
70-- AnchorDesigner: Child controls of some controls like TPageControl aren't visible
65+ * When the designed form / frame is moved out of screen, there the form has no designer grid (dots).
66+ * Qt5 shows own menu in form, this isn't shown in the anchor designer.
67+ * Designer: mouse wheel to scroll content doesn't work - csDesigning is set and form doesn't get a LM_MOUSEWHEEL message.
68+ * If main menu is visible, the height of the client area is wrong, see [Issue #38701](<https://bugs.freepascal.org/view.php?id=38701>)
69+ * Form size is limited to screen size
70+ * AnchorDesigner: Child controls of some controls like TPageControl aren't visible
7171
7272## See also
7373
74-- [[Docking]] in general
75-- [[Anchor Docking]] in your application
74+ * [[Docking]] in general
75+ * [[Anchor Docking]] in your application
7676
7777---
78-*From the Free Pascal wiki, page "DockedFormEditor", as it stood on 2023-04-09 after a change by Serbod, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
79-Category: Lazarus IDE plugins
78+*From the Free Pascal wiki, page "DockedFormEditor", as the Internet Archive kept it on 2024-12-07, last changed on 2024-08-30. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history