Recent

Author Topic: How to dock the form designer in Lazarus 3.2  (Read 1470 times)

bruce.button

  • Jr. Member
  • **
  • Posts: 59
How to dock the form designer in Lazarus 3.2
« on: February 28, 2024, 08:14:47 pm »
I have just upgraded to Lazarus 3.2 from version 2. In the previous version, the Code and Design views were both docked in the middle of the screen, and one could toggle between them. In the new version, the Design view of the form appears in a floating window. This is sometimes useful, but sometimes unhelpful, as when one wants to set propertied of the controls in the form. As soon as one clicks in the Object Inspector the form disappears.

I have installed the AnchorDocking and AnchorDockingDsgn packages, which seem to be working as before, except for the floating form.

I have attached screenshots showing how the code/design view appear in Lazarus version 2.2 and Lazarus version 3.2. My OS is Windows 11.

So, in short, I would like to dock the Design view of the form so that it doesn't disappear when working with the Object Inspector.

There may be a simple setting somewhere, but I haven't been able to find it.


Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10546
  • Debugger - SynEdit - and more
    • wiki
Re: How to dock the form designer in Lazarus 3.2
« Reply #1 on: February 28, 2024, 08:25:09 pm »
Install DockedFormEditor package.


Normally when you update, you need to rebuild the IDE once, and installed packages will be back.

I am not sure what you previously used. That is, if in 2.2 you still had "sparta". Which has been replaced. So if that is the case then a rebuild would not help, but installing above package will.

bruce.button

  • Jr. Member
  • **
  • Posts: 59
Re: How to dock the form designer in Lazarus 3.2
« Reply #2 on: February 28, 2024, 08:29:06 pm »
Thank you, Martin. The DockedFormEditor package has done the trick.

 

TinyPortal © 2005-2018