PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Post by le_magn »

gnozal wrote:Update

Changes :
- added option 'Editable image IDs in gadget properties' in preferences : if checked, you can edit the image IDs for Image/ButtonImage gadgets.
- added 'Gadget fonts' tab in preferences : you can set default gadget fonts for each gadget class, and choose to apply them immediatly to an existing form.
Thank you gnozal!!
Image
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Post by Kurzer »

gnozal wrote:Update
Changes :
- added option 'Editable image IDs in gadget properties' in preferences : if checked, you can edit the image IDs for Image/ButtonImage gadgets.
Yesssss! Thank you, now I can sleep much better with ID1, 2, 3. :lol:

edit: Gnozal, in PureBasic it is possible to create an ImageGadget without an Image. You have to set the ImageID to 0 to do this.

Code: Select all

ImageGadget(#Image_Original, 5, 5, 14, 14, 0)
But how I can achieve this in PureFORM? Each time I set the Imagepath to "" PureFORM wil replace it by an default path to the PureBasic logo. It would be better if PureFORM would set a 0 parameter instead.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

kurzer wrote:Each time I set the Imagepath to "" PureFORM wil replace it by an default path to the PureBasic logo. It would be better if PureFORM would set a 0 parameter instead.
Ok, done in build 280.
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 »

Wow! It's like christmas and easter in one day!
Let me ask a personally question: Do you have a all day job? You are so active in your projects, one could mean you are out of work (but I don't hope so!). I really pay tribute to your PB work.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

kurzer wrote:Let me ask a personally question: Do you have a all day job?
Yes, I have.
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 282)

Changes :
- fixed some bugs
- added new dialog 'Project images' [F2] (see manual)
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, if I change the image path from absolute to relative (via new F2-window) then this take no effekt at all. Neither the source in PureFORMs code view change nor the code which is saved via "save as code" is changed.
Also updating the code view by clicking "complete code" take no effekt. And if I change something other in the project (move a gadget by 10 pixel) then this modification is written to the saved source, but not the relative image path I choose before via F2 window.

Code: Select all

DataSection
  ImageID_LoadSource:
  IncludeBinary "C:\Programme\PureBasic\! Meine Projekte\Register-Check\Daten\Images\folder.bmp"
EndDataSection
Is there something magic using this new funktion or is it a bug?

(I use the latest 282 build)
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, if I change the image path from absolute to relative (via new F2-window) then this take no effekt at all.
Well, the idea was to make the path relative for the PureFORM project, so it is more portable. But the code generation still uses an absolute path (as I only use 'Include as hexadecimal data', there is no path issue).
I will change this.
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 283)

Changes :
- fixed some problems with relative image paths
- relative image paths are now also used in generated code for IncludeBinary _filename_.
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 »

Ah, now I understand. Thank's for the explanation and the implementation for Includebinary. *thumbup*
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Your website doesn't work anymore gnozal :(
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

GeoTrail wrote:Your website doesn't work anymore gnozal :(
gone belly up here in Oz too. Hope it's just a temp thing as Gnozal's stuff are a needed thing.
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Fangbeast wrote:
GeoTrail wrote:Your website doesn't work anymore gnozal :(
gone belly up here in Oz too. Hope it's just a temp thing as Gnozal's stuff are a needed thing.

Gnozal's website works here, jump in a plane and get over here :mrgreen:
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

My site works here too. Probably a freenet.de temporary problem.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Works here too now.
Most have been a temporary thing :)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply