Recent

Author Topic: New DockedFormEditor  (Read 4049 times)

mav

  • Jr. Member
  • **
  • Posts: 52
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: 218
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: 535
  • 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 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 21.04 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.2(stable) Ubuntu 21.04 64b Dark Theme
http://github.com/gcarreno

mav

  • Jr. Member
  • **
  • Posts: 52
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: 52
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: 308
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 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.64226); FPC 3.3.1 (r.47808), FireBird 3.0.7

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

Michl

  • Full Member
  • ***
  • Posts: 218
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;

 

TinyPortal © 2005-2018