Page 35 of 103
Posted: Sat May 12, 2007 6:06 pm
by iNX
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.
Posted: Sun May 13, 2007 3:40 pm
by cabaptista
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.
Posted: Sun May 13, 2007 4:55 pm
by cabaptista
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
Posted: Sun May 13, 2007 5:49 pm
by cabaptista
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
Posted: Mon May 14, 2007 8:26 am
by gnozal
flaith wrote:just a little refresh issue with the window "code view"
clic on "Code" twice => the code disappears
You mean click on 'Complete code' ?
I can't reproduce the problem (build 178).
Posted: Mon May 14, 2007 8:30 am
by gnozal
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.
Fixed (next release)
Posted: Mon May 14, 2007 8:44 am
by gnozal
cabaptista wrote:I think it's missing an important Code Infusion TAG, between
;:PureFORM:Init:End:
and
;:PureFORM:Windows:Start:
Yes, I will add some 'ProgramInit' tag
cabaptista wrote:You should also put more options for the editor of Code Infusion
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 infusion
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.
if you right-click on a gadget and select 'Code infusion', it does exactly what you ask for.
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:
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:Where is the "After Event Loop" in Code Infusion ?
I see it in the generated code but not in Code Infusion.
There isn't.
It is used by PureFORM.
cabaptista wrote:The SpinGadget Flags #Spin_Numeric and Spin_ReadOnly are not generated when we check them.
Fixed (for the next release)
Posted: Mon May 14, 2007 11:43 am
by flaith
gnozal wrote:flaith wrote:just a little refresh issue with the window "code view"
clic on "Code" twice => the code disappears
You mean click on 'Complete code' ?
I can't reproduce the problem (build 178).
The "Code" button in the main menu which open the "code view" window
Posted: Mon May 14, 2007 12:48 pm
by gnozal
flaith wrote:gnozal wrote:flaith wrote:just a little refresh issue with the window "code view"
clic on "Code" twice => the code disappears
You mean click on 'Complete code' ?
I can't reproduce the problem (build 178).
The "Code" button in the main menu which open the "code view" window
Ah yes, forgot this one ! Fixed (in the next release)
Posted: Mon May 14, 2007 1:06 pm
by gnozal
Update
Changes :
- some bugs fixed
- added 'Program init' location in Code Infusion
- new : you can now define the column width for all listicongadget columns
Posted: Mon May 14, 2007 5:15 pm
by michel
Hello Gnozal,
Thank you
Michel
Posted: Mon May 14, 2007 7:53 pm
by flaith
Posted: Mon May 14, 2007 8:07 pm
by iNX
Thank you gnozal!

Posted: Tue May 15, 2007 9:31 am
by mueckerich
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.

Posted: Tue May 15, 2007 9:51 am
by maw