PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post 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 ?)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post 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)  Image
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 ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post 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. :?:
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gummel
User
User
Posts: 11
Joined: Sat Mar 22, 2008 11:26 am

Re: PureFORM 1.99 (yet another FORM designer)

Post 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
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Re: PureFORM 1.99 (yet another FORM designer)

Post 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. ;)
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post 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.
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:

Re: PureFORM 1.99 (yet another FORM designer)

Post by gnozal »

Update

Changes :
- you can now change the order of ListIcon columns in Gadget properties -> Items
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

Re: PureFORM 1.99 (yet another FORM designer)

Post by Kurzer »

Wow, as usual. Incredibly fast. Image
Thank you! Image
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Re: PureFORM 1.99 (yet another FORM designer)

Post 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
Proud registered Purebasic user.
Because programming should be fun.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post 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.
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:

Re: PureFORM 1.99 (yet another FORM designer)

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Re: PureFORM 1.99 (yet another FORM designer)

Post by byo »

That's fair enough. :)
Thank you for your advices.
Proud registered Purebasic user.
Because programming should be fun.
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

PureForm forgets to insert UsePNGImageDecoder()

Post 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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureForm forgets to insert UsePNGImageDecoder()

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply