Sign in Join
Wiki copytemporary

Revision 1 of 3, by Serbod on 4-9-2023. The page as it is now.

DockedFormEditor

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.

Why is it useful?

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.

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.

Installation

Layout

After installation there are the design tabs docked next to source editor unit:

<figure> <img src="DockedLayout1.png" title="DockedLayout1.png" /> <figcaption>DockedLayout1.png</figcaption> </figure>

Pages

Code

In the tab Code is the source editor, where you can implement the logic of your app.

<figure> <img src="DockedCode.png" title="DockedCode.png" /> <figcaption>DockedCode.png</figcaption> </figure>

Form

In the tab Form is the default form designer. Without this package it is a separate window.

<figure> <img src="DockedForm.png" title="DockedForm.png" /> <figcaption>DockedForm.png</figcaption> </figure>

Anchors

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:

<figure> <img src="DockedAnchors.png" title="DockedAnchors.png" /> <figcaption>DockedAnchors.png</figcaption> </figure>

Options

There are some options, found after package installation, under MainMenu -> Tools -> Options ... -> Docked Form Editor. Next to some color definitions you find:

Limits

Known Issues

See also


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.