Recent

Author Topic: New DockedFormEditor  (Read 13570 times)

mav

  • Jr. Member
  • **
  • Posts: 79
Re: New DockedFormEditor
« Reply #15 on: April 16, 2021, 05:36:15 pm »
Hello I have a problem, you carry a project from one pc to another, the same operating system configuration, lazarus version etc ... the forms do not appear, neither docked nor floating  :) :)

Michl

  • Full Member
  • ***
  • Posts: 226
Re: New DockedFormEditor
« Reply #16 on: April 16, 2021, 07:53:51 pm »
Hello I have a problem, you carry a project from one pc to another, the same operating system configuration, lazarus version etc ... the forms do not appear, neither docked nor floating  :) :)
Can you add such a minimal example here? Also interesting for me, what is your OS and Lazarus/FPC setup? You can find it via MainMenu -> Help -> About Lazarus -> right click in window and click on "Copy version inforation to clipboard".
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1090
  • Professional amateur ;-P
Re: New DockedFormEditor
« Reply #17 on: April 16, 2021, 08:20:57 pm »
Hey Mav,

Hello I have a problem, you carry a project from one pc to another, the same operating system configuration, lazarus version etc ... the forms do not appear, neither docked nor floating  :) :)

If the project *.lpi was created with Lazarus trunk 2.1.0 the XML is not fully readable for Lazarus 2.0.12 and below.
You don't get any files on the Project explorer is the symptom.

I got a fixlp tool from @wp that can fix this issue if it's a version mismatch.
Tool can be found on Sourceforge->lazarus-ccr->applications->fixlp
https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/applications/fixlp

If it's not that it could be a Multi-monitor issue.
If it's one of those, sorry I have no quick fix :(

Hope it helps.

Cheers,
Gus
« Last Edit: April 16, 2021, 08:22:50 pm by Gustavo 'Gus' Carreno »
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

mav

  • Jr. Member
  • **
  • Posts: 79
Re: New DockedFormEditor
« Reply #18 on: April 16, 2021, 11:43:45 pm »
Thank you Gus, I will try your tool..
My Lazarus 2.0.12 r64642 FPC 3.2.0 x86_64-win64-win32/win64, my OS Windows 10 last.


mav

  • Jr. Member
  • **
  • Posts: 79
Re: New DockedFormEditor
« Reply #19 on: April 18, 2021, 12:30:00 am »
Hello,I have updated all my lazarus to the last trunk and everything works, I can take projects from one pc to another
without problems .... and when I share projects with other people I will tell them to update .
greetings and sorry for the inconvenience!!!

zoltanleo

  • Sr. Member
  • ****
  • Posts: 486
Re: New DockedFormEditor
« Reply #20 on: May 17, 2021, 10:57:47 am »
Hi,

I created a new docked form editor, which can be found in Lazarus Trunk via MainMenu -> Package -> Install/Uninstall Packages... dockedformeditor. It comes with a optional WYSIWYG anchor designer. You have to deinstall other docked form editors like Sparta_DockedFormEditor first!

Hi, Michl. That's cool!

I discovered a feature that could hardly be called a bug. But fixing it will make it convenient to use the plugin when the form is very large and does not fit on the display.

If you stretch the form outside the screen for a very long time, then a panel appears, below which the edges of the form are not visible. I got this effect when the height of the form reached 1090px

Can you fix this or is this a plugin limitation?
« Last Edit: May 17, 2021, 11:01:02 am by zoltanleo »
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

Michl

  • Full Member
  • ***
  • Posts: 226
Re: New DockedFormEditor
« Reply #21 on: May 17, 2021, 12:50:31 pm »
Yes, I know it. It is a OS limtation, that a form can't be created bigger then the screen dimensions. I had documented it https://wiki.freepascal.org/DockedFormEditor#Known_Issues. Till now, I haven't hardly tried to fix - there were bigger issues I was working on. Maybe I can have a look at it in next time. Hints are welcome ;)
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

brankin007

  • Newbie
  • Posts: 2
Re: New DockedFormEditor
« Reply #22 on: July 26, 2021, 11:23:36 pm »
 :D Thanks, Michl,

The info on your wiki worked great.

Bob

Michl

  • Full Member
  • ***
  • Posts: 226
Re: New DockedFormEditor
« Reply #23 on: July 27, 2021, 10:25:01 pm »
Thanks for feedback! :)

If you stumble over some, please give feedback of undocumented issues and missing features.
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

dfergfla

  • Jr. Member
  • **
  • Posts: 58
Re: New DockedFormEditor
« Reply #24 on: September 08, 2021, 05:34:30 pm »
Hello I may be late to the game here.  I just downloaded Lazarus 2.0.12 only to discover that sparta_dockedformeditor does not work anymore.  I found this thread but for the life of me I'm still not able to find "DockedFormEditor"  I can't find it under Package->Install/Uninstall Packages.  Nor can I find it in Lazarus\Components.  What am I missing here?  I would really like to have the IDE docked. 

Thanks

Michl

  • Full Member
  • ***
  • Posts: 226
Re: New DockedFormEditor
« Reply #25 on: September 08, 2021, 08:03:50 pm »
For Lazarus 2.0.12, you can use the package added in this thread: https://forum.lazarus.freepascal.org/index.php/topic,53314.msg401671.html#msg401671
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

dfergfla

  • Jr. Member
  • **
  • Posts: 58
Re: New DockedFormEditor
« Reply #26 on: September 08, 2021, 09:44:58 pm »
Thank you.  I was able to successfully download and install.  I've never done it that way before.  I'm very happy that it worked.  Thank you.

 

TinyPortal © 2005-2018