
PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
Re: PureFORM 1.99 (yet another FORM designer)
Thanks for the quick fix. 

I may look like a mule, but I'm not a complete ass.
Re: PureFORM 1.99 (yet another FORM designer)
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
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)
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:
Line with "SplitterGadget(#Splitter_3 ... " should be after CloseGadgetList() because it is not in panel.
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
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Hi,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.
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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Confirmed, thanks.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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Update (build 388)
Changes :
- fixed splitter code generation issue (posted by cas)
Changes :
- fixed splitter code generation issue (posted by cas)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
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
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
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Update (build 389)
Changes :
- added #PB_Ignore support for field width in statusbar builder.
Changes :
- added #PB_Ignore support for field width in statusbar builder.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
Great! Thank you, Gnozal! 

PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"
Re: PureFORM 1.99 (yet another FORM designer)
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.
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.
Bye Karl
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Hi Klonk,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.
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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
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

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
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Thank you, help file updated.kurzer wrote:... not really a bug, but I think you could point out this in your PureFORM documentation ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
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.

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.

PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Thanks.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...
Should be fixed in build 391.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).