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 »

mike.harris wrote:Thanks for the reply. I looked in the .pbfi file and found the following multiple entries. Does this mean anything to you.
Yes, thanks !

I have just updated PureFORM.
Build 361 should not create any duplicate entries anymore.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mike.harris
User
User
Posts: 10
Joined: Fri Jul 04, 2008 9:15 pm
Location: Caerphilly, Wales

Post by mike.harris »

Gnozal

Great response, will it be best to take out the duplicates by hand or will the new version sort it out.

Truly amazing support.

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

Post by gnozal »

mike.harris wrote:Great response, will it be best to take out the duplicates by hand or will the new version sort it out.
If you use the old file (with duplicates) with the new PureFORM version, you will see only one 'Program init' entry. When you erase this (duplicate) entry in code infusion, you will see the next duplicate entry (until you have erased all duplicates).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mike.harris
User
User
Posts: 10
Joined: Fri Jul 04, 2008 9:15 pm
Location: Caerphilly, Wales

Post by mike.harris »

Gnozal

I will try this out this evening. Thanks again.

Regards

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

Post by le_magn »

Hi Gnozal, if i add a hiperlink gadget and select to activate purecolor the background of gadget remain white and not transparent
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

le_magn wrote:Hi Gnozal, if i add a hiperlink gadget and select to activate purecolor the background of gadget remain white and not transparent
Sorry, but the hyperlink gadget is not supported by PureCOLOR.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
HAnil
User
User
Posts: 87
Joined: Thu Feb 26, 2004 5:42 pm
Location: 28:58E 41:01N

Post by HAnil »

Hi gnozal,
I use new jaPBe version 3.9.1.748.
when I load Filelist and select help->About, jaPBe gone to crash. when I start new and empty editor, after than help->about and select any filelist , editor gone to crash again.
this is not important just now, maybe you can test help and submenus.
by the way,
thanks for pureFORM and jaPBe
PureBasic v5.22 LTS & Mac & Windows8
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

HAnil wrote:I use new jaPBe version 3.9.1.748.
This is the PureFORM thread :wink:
HAnil wrote:when I load Filelist and select help->About, jaPBe gone to crash. when I start new and empty editor, after than help->about and select any filelist , editor gone to crash again.
I can't reproduce the problem.
Could you test with this exe (with errorline support enabled) to help locate the problem : http://freenet-homepage.de/gnozal/jaPBe_Debug.zip ?
Thanks
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mike.harris
User
User
Posts: 10
Joined: Fri Jul 04, 2008 9:15 pm
Location: Caerphilly, Wales

Include File paths for compile and run

Post by mike.harris »

Gnozal

I tried your latest version which fixes the problem I had, but I am running into another one and looking for advice.
I am building an application to learn Windows programming in Purebasic and trying not to mess with the source produced by PureForm. I have used CodeInfusion to put in an include file (as shown previously) but if I try to compile and run the code from within PureForm I always get the error that the include File could not be found. I assume that this is because you are using a temporary file or something similar. What is the easiest way to work around this without including code to point to the path (which may move). I have done this to make it work (see below)

IncludePath "C:\Purebasic\PF1"
XIncludeFile "EfacsUserManager.pbi"

I am on a steep learning curve here but PureForm will definitely make it easier once I understand the best way of making it work. Are there any example applications out there that can serve as good examples to learn from, both PureForm and the Windows side of things.

Thanks again for some excellent tools.

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

Re: Include File paths for compile and run

Post by gnozal »

mike.harris wrote:I have used CodeInfusion to put in an include file (as shown previously) but if I try to compile and run the code from within PureForm I always get the error that the include File could not be found. I assume that this is because you are using a temporary file or something similar. What is the easiest way to work around this without including code to point to the path (which may move). I have done this to make it work (see below)
IncludePath "C:\Purebasic\PF1"
XIncludeFile "EfacsUserManager.pbi"
You are absolutely right.
With XIncludeFile "EfacsUserManager.pbi", the PBCompiler looks in the current directory and fails because PureFORM uses a temporary directory / file when compile / run.
As you already found out, the solution is to use IncludePath.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mike.harris
User
User
Posts: 10
Joined: Fri Jul 04, 2008 9:15 pm
Location: Caerphilly, Wales

Post by mike.harris »

Gnozal

Many thanks for the prompt reply.

I thought I was missing a trick somewhere.

Mike
User avatar
HAnil
User
User
Posts: 87
Joined: Thu Feb 26, 2004 5:42 pm
Location: 28:58E 41:01N

Post by HAnil »

sory for wrong section :(
I used debug version but when error occured, jaPBe was disappeared.
I realized, when I open task manager I saw many "pbcompiler.exe" . i killed all pbcompiler.exe. I didn't compile source.Tested again and "pbcompiler.exe" was came.
if it possible to produce error log, I can send.
regards.



___________________________________________________________
sory for bad english ..........
PureBasic v5.22 LTS & Mac & Windows8
hjf
User
User
Posts: 21
Joined: Sun Nov 23, 2008 3:30 pm
Location: Germany

Post by hjf »

Hello Gnozal,

I have found a small problem in PureForm. The PB-Function 'StatusBarIcon()'
is changed to 'StatusBarImage()' in PB4.30. A compiler warning is
the result when I execute the generated code from PureForm.

Cia hjf

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

Post by gnozal »

hjf wrote:I have found a small problem in PureForm. The PB-Function 'StatusBarIcon()' is changed to 'StatusBarImage()' in PB4.30. A compiler warning is the result when I execute the generated code from PureForm.
Thanks, I didn't spot this in the history ...
And there is a big change, you can't mix text and icon in a statusbar field anymore : "If a field displays an icon, it will not show any text." !
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

Changes :
- fixed statusbar appearance and code generation if compiler version >=4.30 is detected
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply