Page 78 of 103
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Nov 02, 2009 3:56 pm
by AL90
gnozal wrote:You mean when you are changing themes,
Yes. I use diverse *.theme-files with misc *.msstyles. (e.g. AeroLiquid.msstyles and so on)
'[x] Show only selected windows does not work' ?
Sorry, but I can't find this option. but the option
Remember Windows Positions is activated.
But all windows from the
View menu are aktivated and stays on the default positions from
PureForm. (first start default ?)
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Nov 02, 2009 4:50 pm
by gnozal
1. I meant the user created windows (= project windows) ; if '[ ] Show only selected windows ' is checked, only the selected project window is showed (the others are hidden).
The checkbox is located at the bottom of the window list ('Window list' tab if you use the integrator)

2. If you are talking about the PureFORM windows, I don't notice any position or status change while I switch themes (using XP)..
Or maybe I am missing something ?
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Nov 02, 2009 6:34 pm
by AL90
Ok i have test it now. The Checkbox was unchecked. I have it activated and again tested.
Same problem. All Windows will opened on default Pos and sizes. Before I exit PureForm,
I have check the Ini-File. Its not changed after theme change. But I exit PureForm now,
the INI will now overwrite with all the defaults. (Opening windows)
Maybe it works not correct with the "VirtualStore"-Folder of Vista ?
(c:\Users\Harald\AppData\Local\VirtualStore\Program Files\PureForm\PureFORM.ini)
The Config is so not saved in Roaming-Folder of Vista. If you want you can use this small sample:
Code: Select all
Procedure.s GetAndCreateConfigPath(FullPath$)
Protected PrefsPath$
If Right(FullPath$, 1)<>"\" : FullPath$+"\" : EndIf
PrefsPath$ = FullPath$
If OSVersion() => #PB_OS_Windows_Vista
PrefsPath$ = GetEnvironmentVariable("APPDATA") + "\" + StringField(FullPath$, CountString(FullPath$,"\"), "\") + "\"
EndIf
If MakeSureDirectoryPathExists_(@PrefsPath$) = #True
ProcedureReturn PrefsPath$
EndIf
EndProcedure
MyConfigPath$ = GetAndCreateConfigPath(GetPathPart(ProgramFilename())+"PureTEST_ConfigFolder\")
Debug MyConfigPath$ ; <--- Returns ("") if fails.
So you can become the correct ConfigFolder of Vista. (c:\Users\<Username>\AppData\Roaming\PureForm\PureFORM.ini)
The most apps on Vista using this folder for cfg's. Maybe it is a solution for the problem.

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Tue Nov 03, 2009 8:28 am
by gnozal
Yes, currently PureFORM doesn't save its config file in %APPDATA%, but in its own directory.
Workaround : install PureFORM in a folder where it can write files.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Thu Nov 12, 2009 4:38 pm
by gummel
Hi Gnozal,
in your great designer are some settings affected to the project (e.g. not to generate event loop) i think it would be great if this settings would be saved with the project and not with the global program-settings. So if you have diffrent projects, you ever have to change it manually.
gummel
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sat Jan 02, 2010 4:38 pm
by Kurzer
Hello Gnozal,
a question regarding the window "Gadget properties / Items:
Is there a way to change/swap the order of Listview columns?
I can only create a new column at the end (right side), delete the last column or rename the columns.
If I want to insert a new column at the first position (left side), then I have to add a new coulmn at the end and have to rename all other columns. Each column becomes the column to the right of it.
At the moment I 'hack' the PureFORM project file (*.pbf) with a texteditor to change the order of listview columns, but thats a bad solution.

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Tue Jan 05, 2010 3:27 pm
by gnozal
kurzer wrote:Hello Gnozal,
a question regarding the window "Gadget properties / Items:
Is there a way to change/swap the order of Listview columns?
I can only create a new column at the end (right side), delete the last column or rename the columns.
Currently, now.
Change/swap is only available for panelgadget tabs.
I'll consider it as a feature request.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed Jan 06, 2010 8:33 am
by gnozal
Update
Changes :
- you can now change the order of ListIcon columns in Gadget properties -> Items
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed Jan 06, 2010 11:49 am
by Kurzer
Wow, as usual. Incredibly fast.

Thank you!

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed Jan 06, 2010 3:43 pm
by byo
Amazing software and support. A must have.
I have some suggestions:
1) An option to lock a gadget so it won't be resized or moved;
2) If possible, some additional gadgets like a button with text and image;
3) The ability to include items of a combobox in edit time.
Keep up the good work!
And thanks.
Regards,
Andre
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed Jan 06, 2010 4:57 pm
by gnozal
byo wrote:1) An option to lock a gadget so it won't be resized or moved;
You can already use the 'Disable/Enable' button in gadget properties. You can also enable/disable or show/hide gadget groups.
byo wrote:2) If possible, some additional gadgets like a button with text and image;
There is no such gadget in purebasic (yet?), so I am afraid you have to code it yourself. Once the coding is done, you can add it as custom gadget in PureFORM.
Maybe when I have some time...
byo wrote:3) The ability to include items of a combobox in edit time.
I am not sure this will happen.
You could use the code infusion feature though.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed Jan 06, 2010 4:58 pm
by gnozal
Thanks for your kind words.
byo wrote:1) An option to lock a gadget so it won't be resized or moved;
You can already use the 'Disable/Enable' button in gadget properties. You can also enable/disable or show/hide gadget groups.
byo wrote:2) If possible, some additional gadgets like a button with text and image;
There is no such gadget in purebasic (yet?), so I am afraid you have to code it yourself. Once the coding is done, you can add it as custom gadget in PureFORM.
Maybe when I have some time...
byo wrote:3) The ability to include items of a combobox in edit time.
I am not sure this will happen.
You could use the code infusion feature though.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed Jan 06, 2010 6:23 pm
by byo
That's fair enough.

Thank you for your advices.
PureForm forgets to insert UsePNGImageDecoder()
Posted: Fri Jan 08, 2010 5:06 pm
by Kukulkan
Hi Gnozal,
This is the first time I try PureForm on a bigger project. I have to say that this is great and seems to be much better and more stable than the PB own Visual Designer. Great Work
While working, I found some small issues that you may want to fix:
1. If I use some PNG graphics in gadgets, the generated source contains only UseJPEGImageDecoder() but not UsePNGImageDecoder(). So the images will not load and i need to add this manually.
2. While adding images to an ImageGadget, the file-selector filter does not show *.ico by default. I have to switch the filter to "Images" or "All Files" at first for every icon I like to include. Would be great if you can show all supported image- and icon-types by default.
3. Can you add a keyboard shortcut for "Safe as code...", too? I do only include the generated code and need to use the menu each time I like to save the code. A keyboard shortcut would be great (<CTRL> + <E> like 'export'?)
Thank you!
Kukulkan
Re: PureForm forgets to insert UsePNGImageDecoder()
Posted: Sat Jan 09, 2010 9:23 am
by gnozal
Kukulkan wrote:If I use some PNG graphics in gadgets, the generated source contains only UseJPEGImageDecoder() but not UsePNGImageDecoder().
So the images will not load and i need to add this manually.
It should work, and it does, at least in my projects.
If it doesn't, it's a bug : could you post the pbf file ?
A workaround : add 'UsePNGImageDecoder()' using the
'Code infusion' feature in 'Program init' location. So you don't have to add it manually every time.