Page 81 of 103

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Wed Mar 17, 2010 1:51 pm
by srod
Thanks for the quick fix. 8)

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Wed Jun 16, 2010 5:08 pm
by PbFan
Hi gnozal,

PureForm is super...!!!

But i found the following:
I put a checkbox in a form and give her the option disabled. In the preview of the form the checkbox is also shown as disabled. Only in the code it is not implemented.

Greetings PbFan

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Thu Jun 17, 2010 2:59 pm
by cas
Found bug in creating gadget code:
1. Open PureFORM
2. Create PanelGadget on top
3. Add two EditorGadgets to bottom (or any other two gadgets)
4. Add SplitterGadget to EditorGadgets
It generates this code:

Code: Select all

Procedure OpenWindow_Window_0()
  If OpenWindow(#Window_0, 22, 20, 400, 378, "Window_0", #PB_Window_SystemMenu|#PB_Window_TitleBar)
    If CreateGadgetList(WindowID(#Window_0))
      EditorGadget(#Editor_1, 20, 155, 135, 195)
      EditorGadget(#Editor_2, 175, 155, 190, 195)
      PanelGadget(#Panel_0, 10, 15, 360, 115)
        ; Tab #1
        AddGadgetItem(#Panel_0, -1, "Tab #1")
        SplitterGadget(#Splitter_3, 10, 140, 375, 230, #Editor_1, #Editor_2, #PB_Splitter_Separator)
      CloseGadgetList()
      SetGadgetState(#Splitter_3, 117)
    EndIf
  EndIf
EndProcedure
Line with "SplitterGadget(#Splitter_3 ... " should be after CloseGadgetList() because it is not in panel.

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Tue Jun 22, 2010 10:28 am
by gnozal
PbFan wrote:But i found the following:
I put a checkbox in a form and give her the option disabled. In the preview of the form the checkbox is also shown as disabled. Only in the code it is not implemented.
Hi,
As explained in the help file, you can hide and/or disable a gadget in a form. This can be handy if you have several layers of gadgets.
The hidden or disabled state is not translated during code generation.
You may add some code using the code infusion feature though.

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Tue Jun 22, 2010 10:38 am
by gnozal
cas wrote:Found bug in creating gadget code:
1. Open PureFORM
2. Create PanelGadget on top
3. Add two EditorGadgets to bottom (or any other two gadgets)
4. Add SplitterGadget to EditorGadgets
...
Line with "SplitterGadget(#Splitter_3 ... " should be after CloseGadgetList() because it is not in panel.
Confirmed, thanks.

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Tue Jun 22, 2010 11:42 am
by gnozal
Update (build 388)

Changes :
- fixed splitter code generation issue (posted by cas)

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Mon Jul 12, 2010 8:53 pm
by Kurzer
Hello Gnozal,

today I figured out, PureForm does not support the #PB_Ignore parameter of the AddStatusBarField() command.
#PB_Ignore let adjust the size of a statusbarfield automatically depending on the window size.

Kind regards, Kurzer

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Tue Jul 13, 2010 10:54 am
by gnozal
Update (build 389)

Changes :
- added #PB_Ignore support for field width in statusbar builder.

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Tue Jul 13, 2010 1:12 pm
by Kurzer
Great! Thank you, Gnozal! Image

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Thu Jul 22, 2010 3:37 pm
by Klonk
Gnozal,

found a small bug:
When importing a new project from source (translate from source) already existing tooltips are discarded/ignored.

Don'T know whether it is intended this way. Simply would be nice to keep them.

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Fri Jul 23, 2010 7:36 am
by gnozal
Klonk wrote:When importing a new project from source (translate from source) already existing tooltips are discarded/ignored.
Don'T know whether it is intended this way. Simply would be nice to keep them.
Hi Klonk,
the 'Translate from source' feature is incomplete, it only imports windows and gadgets (missing : statusbar / menu / tooltips / etc...) .
It may be improved, but it will never be perfect, as PureFORM handles some data it's own way.

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Fri Jul 23, 2010 7:14 pm
by Kurzer
Aloah Gnozal, :)

not really a bug, but I think you could point out this in your PureFORM documentation:

If you work with splitters together with PureResize, then it is important to activate PureResize ONLY for the splittergadget and NOT for the gadgets within the splitter.

If one activate PureResize for both parts it will result in a wired behaviour in the resulting exe - see this XVid screenvideo

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Sat Jul 24, 2010 8:44 am
by gnozal
kurzer wrote:... not really a bug, but I think you could point out this in your PureFORM documentation ...
Thank you, help file updated.

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Sun Jul 25, 2010 9:19 pm
by Kurzer
Hello Gnozal,

I found another strange issue in connection with a container gadget:

After changing the properties of a container gadget (see 1), the "active entry marker" of the gadget list (Integrator) jumps immediately one row up to the line "Splittergadget". Immediately means: You can not even see the new checkbox state before it switch to the other gadget.

This happens each time you change a property of the container gadget.

Image

Re: PureFORM 1.99 (yet another FORM designer)

Posted: Mon Jul 26, 2010 8:20 am
by gnozal
kurzer wrote:... I found another strange issue in connection with a container gadget:
After changing the properties of a container gadget (see 1), the "active entry marker" of the gadget list (Integrator) jumps immediately one row up to the line "Splittergadget". Immediately means: You can not even see the new checkbox state before it switch to the other gadget...
Thanks.
Should be fixed in build 391.