PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update (build 233)
Changes :
- added sanity checks in new generated multilanguage procedures and fixed problem if '=' character present in text
- fixed : after click on gadgetlist or previous/next gadget button, the selected gadget was not shown if child of embedded panelgadgets.
- fixed : 'Save group as template' menu item was sometimes not displayed
Changes :
- added sanity checks in new generated multilanguage procedures and fixed problem if '=' character present in text
- fixed : after click on gadgetlist or previous/next gadget button, the selected gadget was not shown if child of embedded panelgadgets.
- fixed : 'Save group as template' menu item was sometimes not displayed
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:
Update (build 235)
Changes :
- new option in preferences : "Don't generate gadget event code by default". If checked, PureFORM will not generate the gadget event code by default ; the 'Not in event-loop' option will be checked for new gadgets in the gadget properties.
- optimized multilanguage procedures (thanks Kurzer)
[EDIT] - added 'Define' in generated multilanguage procedures code for EnableExplicit compatibility
Changes :
- new option in preferences : "Don't generate gadget event code by default". If checked, PureFORM will not generate the gadget event code by default ; the 'Not in event-loop' option will be checked for new gadgets in the gadget properties.
- optimized multilanguage procedures (thanks Kurzer)
[EDIT] - added 'Define' in generated multilanguage procedures code for EnableExplicit compatibility
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Hello gnozal, in the generated code you use a hard coded path for the language file yet (C:\TEMP\PureFORM_CodeGeneration.lng). I suppose this is not final. 
What about storing path and filename of the last saved languagefile in the project prefs? Or maybe put a new editfield for the filename beside the the langage procedure name's editfield in the prefs?

What about storing path and filename of the last saved languagefile in the project prefs? Or maybe put a new editfield for the filename beside the the langage procedure name's editfield in the prefs?
- Joakim Christiansen
- Addict
- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
When in preview mode grids shouldn't be visible.
And "show grid" should be moved to the view menu I think.
And after adding a new gadget the "gadget text" should be selected so I can just drag a button into my form and type the name right away without clicking anywhere.
And yeah, the snap to grid system is kinda weird, for me it's easier with the other visual designer, maybe it can be tweaked a little. (like making it jump to grid WHILE moving) Edit: Oh sorry, just found that option. Btw, it was a little crazy...
I must admit that on this laptop where I'm using a touchpad designing a window in the official designer is MUCH easier, but yes that one still lacks these cool features. So if you make it easier to edit/move the gadgets then it will be the PERFECT visual designer!
And "show grid" should be moved to the view menu I think.
And after adding a new gadget the "gadget text" should be selected so I can just drag a button into my form and type the name right away without clicking anywhere.

And yeah, the snap to grid system is kinda weird, for me it's easier with the other visual designer, maybe it can be tweaked a little. (like making it jump to grid WHILE moving) Edit: Oh sorry, just found that option. Btw, it was a little crazy...
I must admit that on this laptop where I'm using a touchpad designing a window in the official designer is MUCH easier, but yes that one still lacks these cool features. So if you make it easier to edit/move the gadgets then it will be the PERFECT visual designer!
I like logic, hence I dislike humans but love computers.
gnozal ! gnozal !
You amaze me with with all your excellent programs and contributions that
you've shared with the rest of us on this forum. It's true that every one
contributes to some extent. But you certainly have done a 'lions' share, and
I just wanted to really say thank you for all your hard work, and for sharing
it with us.
:D:D
You amaze me with with all your excellent programs and contributions that
you've shared with the rest of us on this forum. It's true that every one
contributes to some extent. But you certainly have done a 'lions' share, and
I just wanted to really say thank you for all your hard work, and for sharing
it with us.

-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
This part of the generated code is only to test the form : it should not be exported with "Save a code" or "Update code in source". I will fix this.kurzer wrote:Hello gnozal, in the generated code you use a hard coded path for the language file yet C:\TEMP\PureFORM_CodeGeneration.lng). I suppose this is not final.
PureFORM only provides the functions, you will have to add ReadLanguageFile("WhatEver") in the source yourself.
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:
Ok.Joakim Christiansen wrote:And after adding a new gadget the "gadget text" should be selected so I can just drag a button into my form and type the name right away without clicking anywhere.
I knowJoakim Christiansen wrote:And yeah, the snap to grid system is kinda weird, ...

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:
Update (build 236)
Changes :
- fixed : the temporary form testing code for multilanguage was exported with "Save a code" or "Update code in source".
- added : new options "Set focus to enum or text for new gadget". If checked, the gadget enumeration or text edit box in gadget properties is activated when a new gadget is created.
Changes :
- fixed : the temporary form testing code for multilanguage was exported with "Save a code" or "Update code in source".
- added : new options "Set focus to enum or text for new gadget". If checked, the gadget enumeration or text edit box in gadget properties is activated when a new gadget is created.
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:
The last saved languagefile filename is saved in the project file (pbf).kurzer wrote:What about storing path and filename of the last saved languagefile in the project prefs?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- Joakim Christiansen
- Addict
- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update (build 239)
Changes
- snap to grid functions ([x] use virtual grid [x] snap to grid during resize / move)
. fixed : 'snap to grid' should now be more 'smooth' during gadget move
. added : 'snap to grid' is now also active during gadget resize
. added : 'snap to grid' is now also active during new gadget selection rectangle
Changes
- snap to grid functions ([x] use virtual grid [x] snap to grid during resize / move)
. fixed : 'snap to grid' should now be more 'smooth' during gadget move
. added : 'snap to grid' is now also active during gadget resize
. added : 'snap to grid' is now also active during new gadget selection rectangle
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
V1.96 b239 is great !!!
But there is a stuff you could made to be cool.
For exemple, i'm making a 400x400 window
I put an image to make a background for my application
This image is same size as window size.
So it is impossible to add a gadget (string gadget for exemple) over the image. We have to grow window size (400x600 for exemple), then create a gadget below image, then put the new gadget on image then resize window 400x400.
Could you make creating gadget over an image in next Build ?
Thanks for your work !
Encore bravo
But there is a stuff you could made to be cool.
For exemple, i'm making a 400x400 window
I put an image to make a background for my application
This image is same size as window size.
So it is impossible to add a gadget (string gadget for exemple) over the image. We have to grow window size (400x600 for exemple), then create a gadget below image, then put the new gadget on image then resize window 400x400.
Could you make creating gadget over an image in next Build ?
Thanks for your work !
Encore bravo
