Recent

Author Topic: Embedded designer  (Read 29822 times)

balazsszekely

  • Guest
Embedded designer
« on: March 10, 2020, 05:05:18 pm »
Since Sparta is no longer functional/maintained, we decided to backport CT's excellent form designer(r.62735). You can test it with Lazarus trunk:
1. Svn update/git pull
2. Recompile package ideintf($(Lazarus)/components/ideintf/ideintf.lpk)
3. Rebuild IDE
4. Go to Tools->Options->Environment->Embedded designer and check "Enable embedded desinger"

Important:
Please avoid any drama in this thread, if you have issues with CT, take it somewhere else. This thread is about the designer and nothing else.

Thaddy

  • Hero Member
  • *****
  • Posts: 18695
  • To Europe: simply sell USA bonds: dollar collapses
Re: Embedded designer
« Reply #1 on: March 10, 2020, 05:39:06 pm »
@GetMem and in general:
You may have issues with po files, so do a clean check out.
(I ran into this today)
A clean check out builds and works.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

balazsszekely

  • Guest
Re: Embedded designer
« Reply #2 on: March 10, 2020, 05:52:10 pm »
@Thaddy
Quote
You may have issues with po files, so do a clean check out.
Thanks for the suggestion, but I never commit po files. I have nothing to do with translations.

Thaddy

  • Hero Member
  • *****
  • Posts: 18695
  • To Europe: simply sell USA bonds: dollar collapses
Re: Embedded designer
« Reply #3 on: March 10, 2020, 06:15:01 pm »
It is merely a warning for side effects. The improvement is appreciated.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Otto

  • Full Member
  • ***
  • Posts: 226
Re: Embedded designer
« Reply #4 on: March 10, 2020, 08:38:33 pm »
@GetMem

Hello.
You did a great job.

I tested the package and it seems to work very well. Coming up I will do more tests with more complex projects. I tried to enable it and disable it and it behaved correctly.
I hope it is adopted in the next version of Lazzarus, I think it is very useful for projects that use many forms.

However, I did not understand what CT is and the drama related to it.
« Last Edit: March 10, 2020, 09:37:22 pm by Otto »
Kind regards.

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Embedded designer
« Reply #5 on: March 10, 2020, 09:15:03 pm »
Looks great and seems to work. Just the size of the scrollbars are a bit wired. They seem to show the remainig space from the top left of the windows to the bottom right of the screen.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Embedded designer
« Reply #6 on: March 10, 2020, 09:23:05 pm »
Some forms did not get recognized. If i press F12 the form gets opened. Another F12 then doesn't bring back the source.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

balazsszekely

  • Guest
Re: Embedded designer
« Reply #7 on: March 10, 2020, 09:24:17 pm »
@Otto
Quote
You did a great job.
Thanks, but I only did the backport. It wouldn't be fair to take credit for other peoples work.

Quote
I tested the package and it seems to work very well. Coming up I will do more tests with more complex projects. I tried to enable it and disable it and it behaved correctly.
I'm glad you like it. Thanks for testing.

Quote
However, I did not understand what CT is and the drama related to it.
In this particular case ignorance is bliss. Believe me you lose nothing. If still interested you can do a forum search.


af0815

  • Hero Member
  • *****
  • Posts: 1407
Re: Embedded designer
« Reply #8 on: March 10, 2020, 09:25:10 pm »
Looks nice on Lazarus 2.1.0 r62735M FPC 3.3.1 i386-win32-win32/win64

BTW: I have removed Sparta package first.

PS: F12 works for me (tested with a simple design) in both directions
« Last Edit: March 10, 2020, 09:33:25 pm by af0815 »
regards
Andreas

balazsszekely

  • Guest
Re: Embedded designer
« Reply #9 on: March 10, 2020, 09:27:47 pm »
@Pascal
Quote
Looks great and seems to work. Just the size of the scrollbars are a bit wired. They seem to show the remainig space from the top left of the windows to the bottom right of the screen.
I noticed the scrollbar too. It can be fixed later. For now we wish to see how stable it is with different widget sets, Laz/FPC versions.

Quote
Some forms did not get recognized. If i press F12 the form gets opened. Another F12 then doesn't bring back the source.
Here we go :) . Lazarus/ FPC version please. Are you using custom forms?

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Embedded designer
« Reply #10 on: March 10, 2020, 09:28:51 pm »
PS: F12 works for me (tested with a simple design) in both directions
The F12 issue only happens on unrecognized forms.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

balazsszekely

  • Guest
Re: Embedded designer
« Reply #11 on: March 10, 2020, 09:30:42 pm »
@af0815
Quote
Looks nice on Lazarus 2.1.0 r62735M FPC 3.3.1 i386-win32-win32/win64

BTW: I have removed Sparta package first.

PS: F12 works for me (tested with a simple design) in both directions
Thanks for testing. It worked for me too with win32/64, qt and gtk2. Others tested with qt5 and also worked fine.

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Embedded designer
« Reply #12 on: March 10, 2020, 09:30:56 pm »
Here we go :) . Lazarus/ FPC version please. Are you using custom forms?
See signature. Both latest trunk. No custom forms.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

af0815

  • Hero Member
  • *****
  • Posts: 1407
Re: Embedded designer
« Reply #13 on: March 10, 2020, 09:33:34 pm »
THX specially to the contributors (rotfl)

SCNR


@Pascal: I see no signature
regards
Andreas

MacWomble

  • Jr. Member
  • **
  • Posts: 79
Re: Embedded designer
« Reply #14 on: March 10, 2020, 09:33:55 pm »
Great Work!

I like this Designer  ;D
Mint 19.3 Cinnamon, FPC/ Lazarus Trunk 64Bit

 

TinyPortal © 2005-2018