PureFORM 1.99 (yet another FORM designer)

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Micko
Enthusiast
Enthusiast
Posts: 244
Joined: Thu May 24, 2007 7:36 pm
Location: Senegal
Contact:

Post by Micko »

gnozal wrote:added : PureFORM now also generates fully functional code for multilanguage procedure option (and not only a 'dummy' procedure).
thanks you :D
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Post by Kurzer »

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?
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

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!
I like logic, hence I dislike humans but love computers.
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Post by yrreti »

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:D
johnfinch
User
User
Posts: 45
Joined: Thu May 11, 2006 1:45 am
Location: florida
Contact:

Post by johnfinch »

Here Here!
Leopard-parallels-XP-Vista
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

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. :)
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.
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).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

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. :)
Ok.
Joakim Christiansen wrote:And yeah, the snap to grid system is kinda weird, ...
I know :oops: I don't use it myself, I use the alignment functions. I will try to make it better ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

kurzer wrote:What about storing path and filename of the last saved languagefile in the project prefs?
The last saved languagefile filename is saved in the project file (pbf).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Thanks for the update! :)
I like logic, hence I dislike humans but love computers.
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

Post by michel »

Hello Gnozal,

:D :D :D
Many thanks for these options.

Michel
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ar-s
Enthusiast
Enthusiast
Posts: 344
Joined: Sat Oct 06, 2007 11:20 pm
Location: France

Post by ar-s »

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 :)
Post Reply