PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
I've noticed this little thing:
Preferences -> Directories : writing directory names in the stringgadgets works well, while choosing the directories with the file requester seems not to work, at least on my box (xp sp2). File requester shows up, i choose a directory, press ok, but nothing changes in the stringgadgets.
bye.
Preferences -> Directories : writing directory names in the stringgadgets works well, while choosing the directories with the file requester seems not to work, at least on my box (xp sp2). File requester shows up, i choose a directory, press ok, but nothing changes in the stringgadgets.
bye.
- cabaptista
- User
- Posts: 86
- Joined: Sun Nov 30, 2003 11:42 pm
- Location: Lisboa, Portugal
First of all, i must say that PureFORM is a great tool for programming in PureBasic.
Please Gnozal, continue your great work, don´t give up and i think Fred should give great relevence to this software and maybe in next releases of PureBasic, include this as the standard IDE.
Now, i started to work with PureFORM and have some issues:
1) When you add a column to ListIconGadget, you should give the chance not only to change header text but also column width. (I think that someone here has already say it)
2) In options, you should give the chance to choose editor font and also for standard IDE.
3) I think you should reajust the template TAGS for code completion. Check for example C# by Microsoft, they use the #region / #endregion. I'm not saying to use this, but something more "Formal". In my opinion, makes the program better.
4) Check iNX post, it's happening to me too.
5) In options, in Gadget enumeration, you should give more options and maybe edit like Visual Designer.
6) Now, i cannot see a "Compiler Options" menu neither a "Create Executable" Menu. You should add it, because for me (and i speak for myself) this program would be my eleted application to program in PureBasic.
7) Made it MultiLanguage. If you need help to translate to Portuguese, i can translate the strings for you.
And that´s all for now, if i find more things i will tell you.
Bye.
Please Gnozal, continue your great work, don´t give up and i think Fred should give great relevence to this software and maybe in next releases of PureBasic, include this as the standard IDE.
Now, i started to work with PureFORM and have some issues:
1) When you add a column to ListIconGadget, you should give the chance not only to change header text but also column width. (I think that someone here has already say it)
2) In options, you should give the chance to choose editor font and also for standard IDE.
3) I think you should reajust the template TAGS for code completion. Check for example C# by Microsoft, they use the #region / #endregion. I'm not saying to use this, but something more "Formal". In my opinion, makes the program better.

4) Check iNX post, it's happening to me too.
5) In options, in Gadget enumeration, you should give more options and maybe edit like Visual Designer.
6) Now, i cannot see a "Compiler Options" menu neither a "Create Executable" Menu. You should add it, because for me (and i speak for myself) this program would be my eleted application to program in PureBasic.

7) Made it MultiLanguage. If you need help to translate to Portuguese, i can translate the strings for you.
And that´s all for now, if i find more things i will tell you.
Bye.
- cabaptista
- User
- Posts: 86
- Joined: Sun Nov 30, 2003 11:42 pm
- Location: Lisboa, Portugal
Nevermind. I just delete INI file and then everything went ok.
Hi again,
In version 1.70 build 178, when i press F8 (Code Infusion), it crashes.
In Error reporting, it tells me for check a file in my temp dir. I open the txt file and here is what's inside:
-------------------------------------------------------------
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="PureFORM.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="PureFORM.exe" SIZE="239676" CHECKSUM="0x9BD61C7" BIN_FILE_VERSION="1.70.178.0" BIN_PRODUCT_VERSION="1.70.178.0" PRODUCT_VERSION="1.70.178" FILE_DESCRIPTION="PureFORM : a visual form designer for Purebasic" COMPANY_NAME="Philippe GUNTZ" PRODUCT_NAME="PureFORM" FILE_VERSION="1.70.178" ORIGINAL_FILENAME="PureFORM.exe" INTERNAL_NAME="PureFORM" LEGAL_COPYRIGHT="Philippe GUNTZ a.k.a. gnozal" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x425EF" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.70.178.0" UPTO_BIN_PRODUCT_VERSION="1.70.178.0" LINK_DATE="05/12/2007 10:30:33" UPTO_LINK_DATE="05/12/2007 10:30:33" VER_LANGUAGE="Idioma neutro [0x0]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1035264" CHECKSUM="0x1954918E" BIN_FILE_VERSION="5.1.2600.2991" BIN_PRODUCT_VERSION="5.1.2600.2991" PRODUCT_VERSION="5.1.2600.2991" FILE_DESCRIPTION="DLL cliente da API BASE do Windows NT" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Sistema operativo Microsoft® Windows®" FILE_VERSION="5.1.2600.2991 (xpsp.060907-0105)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. Todos os direitos reservados." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x10C0C1" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.2991" UPTO_BIN_PRODUCT_VERSION="5.1.2600.2991" LINK_DATE="09/07/2006 12:00:36" UPTO_LINK_DATE="09/07/2006 12:00:36" VER_LANGUAGE="Português (Portugal) [0x816]" />
</EXE>
</DATABASE>
-------------------------------------------------------------
Do you know the problem ?
Version 1.70 build 716 doesn't do this.
Thanks in advance.
Cesar Baptista
Hi again,
In version 1.70 build 178, when i press F8 (Code Infusion), it crashes.
In Error reporting, it tells me for check a file in my temp dir. I open the txt file and here is what's inside:
-------------------------------------------------------------
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="PureFORM.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="PureFORM.exe" SIZE="239676" CHECKSUM="0x9BD61C7" BIN_FILE_VERSION="1.70.178.0" BIN_PRODUCT_VERSION="1.70.178.0" PRODUCT_VERSION="1.70.178" FILE_DESCRIPTION="PureFORM : a visual form designer for Purebasic" COMPANY_NAME="Philippe GUNTZ" PRODUCT_NAME="PureFORM" FILE_VERSION="1.70.178" ORIGINAL_FILENAME="PureFORM.exe" INTERNAL_NAME="PureFORM" LEGAL_COPYRIGHT="Philippe GUNTZ a.k.a. gnozal" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x425EF" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.70.178.0" UPTO_BIN_PRODUCT_VERSION="1.70.178.0" LINK_DATE="05/12/2007 10:30:33" UPTO_LINK_DATE="05/12/2007 10:30:33" VER_LANGUAGE="Idioma neutro [0x0]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1035264" CHECKSUM="0x1954918E" BIN_FILE_VERSION="5.1.2600.2991" BIN_PRODUCT_VERSION="5.1.2600.2991" PRODUCT_VERSION="5.1.2600.2991" FILE_DESCRIPTION="DLL cliente da API BASE do Windows NT" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Sistema operativo Microsoft® Windows®" FILE_VERSION="5.1.2600.2991 (xpsp.060907-0105)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. Todos os direitos reservados." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x10C0C1" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.2991" UPTO_BIN_PRODUCT_VERSION="5.1.2600.2991" LINK_DATE="09/07/2006 12:00:36" UPTO_LINK_DATE="09/07/2006 12:00:36" VER_LANGUAGE="Português (Portugal) [0x816]" />
</EXE>
</DATABASE>
-------------------------------------------------------------
Do you know the problem ?
Version 1.70 build 716 doesn't do this.
Thanks in advance.
Cesar Baptista
- cabaptista
- User
- Posts: 86
- Joined: Sun Nov 30, 2003 11:42 pm
- Location: Lisboa, Portugal
I think it's missing an important Code Infusion TAG, between
;:PureFORM:Init:End:
and
;:PureFORM:Windows:Start:
For example, there we can put global variables, declarations, procedures, more enumerations, ...
You get the point.
Even better, if you open Global TAGS for enumerations, globals, constants, declarations, procedures, interfaces and structures (i think i don't miss nothing)
First Editing:
You should also put more options for the editor of Code Infusion like:
Memorize Cursor Position
Memorize Marker Position
Tab Length / Use Real Tab
Fonts/Margins (I said that before, sorry to repeat)
Folding
Check PureBasic Editor Options.
Second Editing :
If we DoubleClick on a Window/Gadget in designer it should open Code Infusion and select by default that Window/Gadget on combobox for us to put the code.
Third Edition:
I know i'm a pain in the ass, but if we want to make a great program we need this.
Ok, I have a gadget named #LoadSubtitleButton and in Code Infusion i code the #PB_EventType_LeftClick.
When i generate the code (generate new file or update the existing one) the TAGS in generated code are
;:PureFORM:Gadget_17_1:Start:
and
;:PureFORM:Gadget_17_1:End:
I think they should be
;:PureFORM:LoadSubtitleButton:Start:
and
;:PureFORM:LoadSubtitleButton:Start:
and why don't you change the TAGS nomemclature for example to
;PureFORM:(WindowName):(GadgetName):Start
and
;PureFORM:(WindowName):(GadgetName):End
But even so, in my personal opinion you should replace the PureFORM and Start/End TAGS for something more light like
<(TAG)> and </(TAG)> or whatever you think it's more suitable.
Fourth Suggestion:
You sholud have an option to say if we want to generate code in event loop for all gadgets or just the ones we have coded in Code Infusion. I have to delete many lines because i just have coded the buttons but you have put all gadgets.
Where is the "After Event Loop" in Code Infusion ?
I see it in the generated code but not in Code Infusion.
The SpinGadget Flags #Spin_Numeric and Spin_ReadOnly are not generated when we check them.
Thanks in advance.
Cesar Baptista
;:PureFORM:Init:End:
and
;:PureFORM:Windows:Start:
For example, there we can put global variables, declarations, procedures, more enumerations, ...
You get the point.

Even better, if you open Global TAGS for enumerations, globals, constants, declarations, procedures, interfaces and structures (i think i don't miss nothing)

First Editing:
You should also put more options for the editor of Code Infusion like:
Memorize Cursor Position
Memorize Marker Position
Tab Length / Use Real Tab
Fonts/Margins (I said that before, sorry to repeat)
Folding
Check PureBasic Editor Options.
Second Editing :
If we DoubleClick on a Window/Gadget in designer it should open Code Infusion and select by default that Window/Gadget on combobox for us to put the code.
Third Edition:
I know i'm a pain in the ass, but if we want to make a great program we need this.

Ok, I have a gadget named #LoadSubtitleButton and in Code Infusion i code the #PB_EventType_LeftClick.
When i generate the code (generate new file or update the existing one) the TAGS in generated code are
;:PureFORM:Gadget_17_1:Start:
and
;:PureFORM:Gadget_17_1:End:
I think they should be
;:PureFORM:LoadSubtitleButton:Start:
and
;:PureFORM:LoadSubtitleButton:Start:
and why don't you change the TAGS nomemclature for example to
;PureFORM:(WindowName):(GadgetName):Start
and
;PureFORM:(WindowName):(GadgetName):End
But even so, in my personal opinion you should replace the PureFORM and Start/End TAGS for something more light like
<(TAG)> and </(TAG)> or whatever you think it's more suitable.
Fourth Suggestion:
You sholud have an option to say if we want to generate code in event loop for all gadgets or just the ones we have coded in Code Infusion. I have to delete many lines because i just have coded the buttons but you have put all gadgets.

Where is the "After Event Loop" in Code Infusion ?
I see it in the generated code but not in Code Infusion.
The SpinGadget Flags #Spin_Numeric and Spin_ReadOnly are not generated when we check them.
Thanks in advance.
Cesar Baptista
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
You mean click on 'Complete code' ?flaith wrote:just a little refresh issue with the window "code view"
clic on "Code" twice => the code disappears
I can't reproduce the problem (build 178).
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:
Fixed (next release)iNX wrote:I've noticed this little thing:
Preferences -> Directories : writing directory names in the stringgadgets works well, while choosing the directories with the file requester seems not to work, at least on my box (xp sp2). File requester shows up, i choose a directory, press ok, but nothing changes in the stringgadgets.
bye.
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:
Yes, I will add some 'ProgramInit' tagcabaptista wrote:I think it's missing an important Code Infusion TAG, between
;:PureFORM:Init:End:
and
;:PureFORM:Windows:Start:
I probably will, but note that PureFORM is not designed to replace an editor. And if you use the 'embedded' jaPBe option, you get all the jaPBe features in code infusioncabaptista wrote:You should also put more options for the editor of Code Infusion
if you right-click on a gadget and select 'Code infusion', it does exactly what you ask for.cabaptista wrote:If we DoubleClick on a Window/Gadget in designer it should open Code Infusion and select by default that Window/Gadget on combobox for us to put the code.
The code tags must have a reliable gadget reference, and this is the gadget number. I can't use the gadget enumeration because it can be changed by the user.cabaptista wrote:When i generate the code (generate new file or update the existing one) the TAGS in generated code are
;:PureFORM:Gadget_17_1:Start:
and
;:PureFORM:Gadget_17_1:End:
I think they should be
;:PureFORM:LoadSubtitleButton:Start:
and
;:PureFORM:LoadSubtitleButton:Start:
There isn't.cabaptista wrote:Where is the "After Event Loop" in Code Infusion ?
I see it in the generated code but not in Code Infusion.
It is used by PureFORM.
Fixed (for the next release)cabaptista wrote:The SpinGadget Flags #Spin_Numeric and Spin_ReadOnly are not generated when we check them.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
The "Code" button in the main menu which open the "code view" windowgnozal wrote:You mean click on 'Complete code' ?flaith wrote:just a little refresh issue with the window "code view"
clic on "Code" twice => the code disappears
I can't reproduce the problem (build 178).
“Fear is a reaction. Courage is a decision.” - WC
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Ah yes, forgot this one ! Fixed (in the next release)flaith wrote:The "Code" button in the main menu which open the "code view" windowgnozal wrote:You mean click on 'Complete code' ?flaith wrote:just a little refresh issue with the window "code view"
clic on "Code" twice => the code disappears
I can't reproduce the problem (build 178).
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
Changes :
- some bugs fixed
- added 'Program init' location in Code Infusion
- new : you can now define the column width for all listicongadget columns
Changes :
- some bugs fixed
- added 'Program init' location in Code Infusion
- new : you can now define the column width for all listicongadget columns
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- User
- Posts: 22
- Joined: Thu Dec 16, 2004 10:36 am
- Location: Germany/Allgaeu
Another thing for your ToDo List:
There is still a problem with the taborder of the gadgets. If you change a property flag of a gadget it will be set first on taborder not at the origin postion.
Btw, when do you ever sleep, for me it seems that you are programming and supporting us 24 hours a day.
There is still a problem with the taborder of the gadgets. If you change a property flag of a gadget it will be set first on taborder not at the origin postion.
Btw, when do you ever sleep, for me it seems that you are programming and supporting us 24 hours a day.

Believe means you don't know