Recent

Author Topic: Merged Form Designer?  (Read 118948 times)

RaphaelZ

  • Jr. Member
  • **
  • Posts: 64
Re: Merged Form Designer?
« Reply #60 on: July 23, 2012, 08:18:13 pm »
There are still some bugs, but it advances:
  • The OK button bug on options dialog when KZDesktop is stopped is still there, this is because of the last statement in OKButtonClick: KZLazDesktopInterface.UpdateFromOptions. A checking should be done whether KZLazDesktopInterface is nil or not
  • At the first time everything is docked, but when you try to load a project, then the source editor flies again
  • Opening any package will first trigger Access Violation, but pressing OK after that works fine
  • The design editor form is invisible, I can put controls on the form but I can't see the bounds
The first two are easily fixed, I attach them. Don't know about the last two yet...

I saw your file; I just fix some bugs, update your SVN ;)

(rev. 36)

avra

  • Hero Member
  • *****
  • Posts: 2580
    • Additional info
Re: Merged Form Designer?
« Reply #61 on: July 24, 2012, 09:53:51 am »
Hi RaphaelZ, I finally got the solution that works on Lazarus 1.1
Thank you both so much  :)
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Merged Form Designer?
« Reply #62 on: July 24, 2012, 12:30:19 pm »
Thanks for the update in r36!

Some bugs on my Lazarus x86 svn r, FPC 2.6.1 x86, on Windows Vista x64:
  • Component palette icons flicker as if they are redrawn lots of times. The icons on the right have more flicker than the icons on the left.
  • I'm editing source code, then switch to another program using alt-tab. When switching back using alt-tab, the focus is not on the source code editor - in any case it doesn't seem to show a cursor; I have to click with the mouse again on the code, or via windows/tabs and select the correct tab I was working in.
    Strange: the column/row indicator still gives the right position so the cursor, and the window menu shows a tick mark next to the source editor

Thanks,
BigChimp
« Last Edit: July 24, 2012, 12:44:43 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Merged Form Designer?
« Reply #63 on: July 24, 2012, 01:51:53 pm »
Attached a diff against svn revision 36 that fixes just some typos:
(Package Viewner=>Package Viewer, license clarification)

I've attached changed files as well as svnversion_typos.diff

Sorry, just a small contribution, but it's meant well ;)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

RaphaelZ

  • Jr. Member
  • **
  • Posts: 64
Re: Merged Form Designer?
« Reply #64 on: July 24, 2012, 05:44:23 pm »
Attached a diff against svn revision 36 that fixes just some typos:
(Package Viewner=>Package Viewer, license clarification)

I've attached changed files as well as svnversion_typos.diff

Sorry, just a small contribution, but it's meant well ;)

Thanks for the changes!
I included your changes in the sources;
I am currently working on correcting the key functions, such as the F12 for example ...

RaphaelZ

  • Jr. Member
  • **
  • Posts: 64
Re: Merged Form Designer?
« Reply #65 on: July 25, 2012, 09:35:17 pm »
Attached a diff against svn revision 36 that fixes just some typos:
(Package Viewner=>Package Viewer, license clarification)

I've attached changed files as well as svnversion_typos.diff

Sorry, just a small contribution, but it's meant well ;)

Thanks for the changes!
I included your changes in the sources;
I am currently working on correcting the key functions, such as the F12 for example ...

Hello ..
The revision 38 is available with more bug fixes.
Download with the SVN and test!

Sure, there are still some bugs, but I'm fixing the bugs

;)

greenie

  • Newbie
  • Posts: 4
Re: Merged Form Designer?
« Reply #66 on: July 25, 2012, 10:26:37 pm »
Hi RaphaelZ

Great job. Just one problem I have encountered using Lazarus 1.1 SVN. When using the design editor Lazarus.exe uses almost 50% cpu. It does not do this with Lazarus 0.9.30.4. Thanks for all your work on this.

RaphaelZ

  • Jr. Member
  • **
  • Posts: 64
Re: Merged Form Designer?
« Reply #67 on: July 25, 2012, 10:31:16 pm »
Hi RaphaelZ

Great job. Just one problem I have encountered using Lazarus 1.1 SVN. When using the design editor Lazarus.exe uses almost 50% cpu. It does not do this with Lazarus 0.9.30.4. Thanks for all your work on this.

Someone had commented this; I particularly noticed this only on a pc with a debian system. But I'll be checking  ;)

Welcome to the forum!


greenie

  • Newbie
  • Posts: 4
Re: Merged Form Designer?
« Reply #68 on: July 25, 2012, 10:34:38 pm »
Hi RaphaelZ

I should have said I am using Windows Vista 32 bit. I can't remember if it happens on Windows XP 64 bit or not.

a.atalla

  • Jr. Member
  • **
  • Posts: 82
Re: Merged Form Designer?
« Reply #69 on: July 25, 2012, 11:20:30 pm »
Lazarus svn 1.1   Gtk toolkit
kzdesktop  (rev38)
Linux fedora 17

i can't switch between different forms in the same project .
also some times i get this white squar on top of the source editor  and sometimes not .
Lazarus 1.0.8 | FPC 2.6.2 x64  | Arch Linux x64 | Windows 7-x86

RaphaelZ

  • Jr. Member
  • **
  • Posts: 64
Re: Merged Form Designer?
« Reply #70 on: July 25, 2012, 11:27:27 pm »
Hi RaphaelZ

I should have said I am using Windows Vista 32 bit. I can't remember if it happens on Windows XP 64 bit or not.

Curious ... In the beginning, the project actually used very cpu resources, but now, with the systems I tested, it is well ...

I will check it

RaphaelZ

  • Jr. Member
  • **
  • Posts: 64
Re: Merged Form Designer?
« Reply #71 on: July 25, 2012, 11:30:49 pm »
Lazarus svn 1.1   Gtk toolkit
kzdesktop  (rev38)
Linux fedora 17

i can't switch between different forms in the same project .
also some times i get this white squar on top of the source editor  and sometimes not .

Hmm .. I saw this on a linux I tested here, but in others it does not appear ... I go see it

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: Merged Form Designer?
« Reply #72 on: July 26, 2012, 11:24:27 am »

The project is fine and looks cool, thanks for developing and contributing it.
I have tested with win7 and mac os x. I t looks fine in win7 but some problems in mac version.
The problem in mac version is Design Editor doesnt show the TForm, can you have a look if you dont mind?
If you need any screenshot, i can post in here.
Thanks.

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: Merged Form Designer?
« Reply #73 on: July 26, 2012, 11:49:30 am »

Here is the screenshot, hope it gives any clue to solve the problem.
Thanks.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Merged Form Designer?
« Reply #74 on: July 26, 2012, 01:40:29 pm »
Quote
The problem in mac version is Design Editor doesnt show the TForm, can you have a look if you dont mind?
See #4 of my latest comment. It happens on 1.1 but not on 0.9.30.4. Apparently you have 1.1 on Mac, what version do you have on Win?

 

TinyPortal © 2005-2018