Recent

Author Topic: Lazaru 4.0: Docked Form Editor problem with frames  (Read 832 times)

luca

  • Jr. Member
  • **
  • Posts: 89
Lazaru 4.0: Docked Form Editor problem with frames
« on: May 12, 2025, 02:03:22 pm »
Hi,
I'm trying the new version of Lazarus.
I enabled form docking; I opened a project that uses a lot of TFrame.
If I open a Unit file of a TFrame the Form view doesn't show the component into the frame: just an empty rectangle appears.
The Anchors tab includes all the components as  the object inspector tree.

Best regards
Luca

luca

  • Jr. Member
  • **
  • Posts: 89
Re: Lazaru 4.0: Docked Form Editor problem with frames
« Reply #1 on: May 12, 2025, 05:19:23 pm »
Hi,
by checking the lfm file, I found the property  DesignLeft and DesignTop with some negative values.

I found it depends by the position of the designer of the form in a multi monitor situation.
Using undocking IDE if I move the form (during design phase) on the monitor on the left the value is negative. So I think in the docking form IDE this two values must be not considered.

Luca

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11361
  • Debugger - SynEdit - and more
    • wiki
Re: Lazaru 4.0: Docked Form Editor problem with frames
« Reply #2 on: May 12, 2025, 05:30:38 pm »
Then it is probably the same as the known issue with TForm Left/Top => if they are negative then the docked form editor does not work (positive value are ok).

There is an issue report about it. But fixing it won't be simple. It likely needs changes deep in the LCL or even Widgetsets...


Hansvb

  • Hero Member
  • *****
  • Posts: 821
Re: Lazaru 4.0: Docked Form Editor problem with frames
« Reply #4 on: June 05, 2025, 12:03:20 pm »
Ah.. i missed that. Thanks.

 

TinyPortal © 2005-2018