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:

Re: PureFORM 1.99 (yet another FORM designer)

Post by gnozal »

Update (build 398)

Changes :
- improved splittergadget management and code generation
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

Re: PureFORM 1.99 (yet another FORM designer)

Post by Kurzer »

Yeah, it was a hard work, wasn't it? :lol:

But the 'gruesome' Kurzer is back... with a minor issue in his luggage. :wink:

If you change the current selected entry in the gadgetlist (Integrator) by cursor up/own, then the gadget properties will not be refreshed (at the bottom of the Integrator).
Only when you activate an entry by mouseclick, then the properties will be refreshed.
(I think if I were you, I would have killed the silly green frog already) :lol:

ciao, Kurzer

Btw: The new PureFORM.flag feature works great!
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!"
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post by gnozal »

kurzer wrote:But the 'gruesome' Kurzer is back... with a minor issue in his luggage.
:lol:
kurzer wrote:If you change the current selected entry in the gadgetlist (Integrator) by cursor up/own, then the gadget properties will not be refreshed (at the bottom of the Integrator).
Fixed in build 399.
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

Re: PureFORM 1.99 (yet another FORM designer)

Post by Kurzer »

Thank you gnozal - this works great now.

But I would not called Kurzer, if I had no new bug for you. :lol:

Gadgetproperties -> Extra -> Font
It seems your generated values for the font style are not longer valid.
You should generate the constance instead (#PB_Font_Bold, #PB_Font_Italic, #PB_Font_Underline, #PB_Font_StrikeOut, #PB_Font_HighQuality)

Bye Kurzer (never getting bored with Kurzer) :? :lol:
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!"
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post by gnozal »

kurzer wrote:... You should generate the constance instead (#PB_Font_Bold, #PB_Font_Italic, #PB_Font_Underline, #PB_Font_StrikeOut, #PB_Font_HighQuality)
Added #PB_Font_* flags in generated code in build 400.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Re: PureFORM 1.99 (yet another FORM designer)

Post by linkerstorm »

Hi gnozal.

A little issue in PureFORM.

When I use "Save as code..." from "Project" menu, two types of file are available : "pb" and "pbi".

I choose "pbi", I use PureFORM and when I want to update code in source, the following error message appears : "Could not read file D:\Developpement\Projets\PureBasic\400\TestPureForm.pb".

PureFORM wants a "pb" file, despite the fact I choosed a "pbi" file for saving the code.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post by gnozal »

linkerstorm wrote:When I use "Save as code..." from "Project" menu, two types of file are available : "pb" and "pbi".
I choose "pbi", I use PureFORM and when I want to update code in source, the following error message appears : "Could not read file D:\Developpement\Projets\PureBasic\400\TestPureForm.pb".
PureFORM wants a "pb" file, despite the fact I choosed a "pbi" file for saving the code.
Actually, PureFORM saves this information in the PBF file ('SaveAsCode' field), but for some reason I forgot to use this information in the 'Update code in source' function.
This should be fixed in build 402.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Re: PureFORM 1.99 (yet another FORM designer)

Post by linkerstorm »

Thanks, it works.

Another issue : the "Update window / gadget props in source" option in the "Project" menu does not work with a "pbi" file (this works with a "pb" file).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post by gnozal »

linkerstorm wrote:Another issue : the "Update window / gadget props in source" option in the "Project" menu does not work with a "pbi" file (this works with a "pb" file).
Same issue.
Should be fixed in build 403.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
DoMi
User
User
Posts: 67
Joined: Sat Jan 10, 2004 5:41 pm
Location: France

Adresses of icons in Tab doesn't work with absolute path

Post by DoMi »

Adresses of icons in Tab gadget doesn't work with absolute path
There the generated code for 3 Tab icons well selected with PureForm selector but not recognized when compiling and running (F6):

Code: Select all

DataSection
  Image_PnlReglages_1:
   ; ORIGINAL FILE NOT FOUND : "D:\Data\Programmation\PureBasic\Musique\Lecture\02\shell32_engrenage.ico"
  IncludeBinary "D:\Data\Programmation\PureBasic\Musique\Lecture\02\shell32_engrenage.ico"
  Image_PnlReglages_2:
   ; ORIGINAL FILE NOT FOUND : "D:\Data\Programmation\PureBasic\Musique\Lecture\02\Note.ico"
  IncludeBinary "D:\Data\Programmation\PureBasic\Musique\Lecture\02\Note.ico"
  Image_PnlReglages_3:
   ; ORIGINAL FILE NOT FOUND : "D:\Data\Programmation\PureBasic\Musique\Lecture\02\Croches.ICO"
  IncludeBinary "D:\Data\Programmation\PureBasic\Musique\Lecture\02\Croches.ICO"
EndDataSection
DoMi
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Adresses of icons in Tab doesn't work with absolute path

Post by gnozal »

DoMi wrote:Adresses of icons in Tab gadget doesn't work with absolute path
I can't reproduce the issue.
Could you test the latest PureFORM build (404) and post your form ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
DoMi
User
User
Posts: 67
Joined: Sat Jan 10, 2004 5:41 pm
Location: France

Re: Adresses of icons in Tab doesn't work with absolute path

Post by DoMi »

Thanks for your reply
1) I just downloaded and intalled the latest build (404)
2) I delete the 3 references to the icon files in the tab gadget
3) I reload the same references
4) It works now! :D

However I'm not sure of what corrected the issue!?
- new build
- resetting the icon files adresses in the PureForm editor...
... sorry

Thanks a lot

P.S.: do you consider a x64 version of JaPPe?
I do appreciate your helpfull tools for PB!
DoMi
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Adresses of icons in Tab doesn't work with absolute path

Post by gnozal »

DoMi wrote:However I'm not sure of what corrected the issue!?
Neither do I.
DoMi wrote:P.S.: do you consider a x64 version of JaPBe?
Not at the moment, because : jaPBe is written in PB3.94, I don't have a Processor / 64bit OS, not too much time for this ....
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Vitor_Boss®
User
User
Posts: 81
Joined: Thu Sep 23, 2010 4:22 am

Re: PureFORM 1.99 (yet another FORM designer)

Post by Vitor_Boss® »

Hi, I'm new on PB but i come from VB6, using this Form designer i found a BUG when translate from source.

My source are using Multi Language support and all Gadget are show like 'Language$(x)'.

Another thing is Font size, my source have some predefined Fonts and PureFORM ignore all.

Great job, keep working.
Thank you in advance.
Sorry by bad English.
HP Pavilion DV6-2155DX: Intel i3-330m 2.13 / 4GB DDR3 / 500GB Sata2 HD / Display 15.6" LED / Win7 Ultimate x64 / PB 4.50 x86 demo.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post by gnozal »

Hi Vitor_Boss®,
as stated in the help file, 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).
Post Reply