PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
Re: PureForm forgets to insert UsePNGImageDecoder()
Hi Gnozal,
Yes, on new projects everything works fine. But the current project has been converted from existing code (translate from source). After translation, I needed to correct every image-entries. No problem so far...
Here is the URL to the .pbf file: http://www.x-beliebig.info/Download/Ass ... reForm.pbf (image in gadget 36 is png)
Here is the generated output: http://www.x-beliebig.info/Download/Ass ... ureForm.pb
Thank you for your help!
Kukulkan
Yes, on new projects everything works fine. But the current project has been converted from existing code (translate from source). After translation, I needed to correct every image-entries. No problem so far...
Here is the URL to the .pbf file: http://www.x-beliebig.info/Download/Ass ... reForm.pbf (image in gadget 36 is png)
Here is the generated output: http://www.x-beliebig.info/Download/Ass ... ureForm.pb
Thank you for your help!
Kukulkan
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureForm forgets to insert UsePNGImageDecoder()
Should be fixed in next build.
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:
Re: PureFORM 1.99 (yet another FORM designer)
Update
Changes :
- fixed image plugin code generation issue posted by Kukulkan
Changes :
- fixed image plugin code generation issue posted by Kukulkan
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
gnozal, I have a suggestion:
When a Scintilla gadget is added the code generated just make the program ends without any message.
I know it's not a big deal but in my case, I'm not taking a look at the form code so I thought
something was wrong with Purebasic cause my program wouldn't run (because the DLL wasn't in the folder, of course).
So my suggestion is: replacing the code:
with:
Or something like this. 
When a Scintilla gadget is added the code generated just make the program ends without any message.
I know it's not a big deal but in my case, I'm not taking a look at the form code so I thought
something was wrong with Purebasic cause my program wouldn't run (because the DLL wasn't in the folder, of course).
So my suggestion is: replacing the code:
Code: Select all
If InitScintilla("Scintilla.dll") = 0
End
EndIf
Code: Select all
If InitScintilla("Scintilla.dll") = 0
MessageRequester("Error", "The file 'Scintilla.dll' could not be found in the application folder.")
End
EndIf

Proud registered Purebasic user.
Because programming should be fun.
Because programming should be fun.
Re: PureFORM 1.99 (yet another FORM designer)
@byo
go to the settings, custom gadget, scintilla and change it by yourself
If gnozal this changes, it will point only effekt if you your setting file is deleted
go to the settings, custom gadget, scintilla and change it by yourself

If gnozal this changes, it will point only effekt if you your setting file is deleted
Re: PureFORM 1.99 (yet another FORM designer)
@ts-soft: Thanks for the hint. 
It's just that sometimes I have to install it in other computers and it would benefit to new users as well.
I lost an entire day trying to figure out what was wrong since PureFORM is so great to design forms you
don't even need to care about the source. That was my mistake.
Regards,
Andre

It's just that sometimes I have to install it in other computers and it would benefit to new users as well.
I lost an entire day trying to figure out what was wrong since PureFORM is so great to design forms you
don't even need to care about the source. That was my mistake.

Regards,
Andre
Proud registered Purebasic user.
Because programming should be fun.
Because programming should be fun.
Re: PureFORM 1.99 (yet another FORM designer)
Thank you!Changes :
- fixed image plugin code generation issue posted by Kukulkan

Kukulkan
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Update (build 385)
Changes:
- added an 'Update project' button in 'Preferences -> Custom gadgets' : it allows to update the selected custom gadget in the current project.
This may be handy if you changed some custom gadget settings and want the existing custom gadgets in your project to be updated with the new settings.
- added shortcut 'CTRL + O' for 'Save as code...'
- changed : file selector for ImageGadgets now shows *.ico by default
Changes:
- added an 'Update project' button in 'Preferences -> Custom gadgets' : it allows to update the selected custom gadget in the current project.
This may be handy if you changed some custom gadget settings and want the existing custom gadgets in your project to be updated with the new settings.
- added shortcut 'CTRL + O' for 'Save as code...'
- changed : file selector for ImageGadgets now shows *.ico by default
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
I Gnozal! I posted before about a fill client area issue. I have the same problem as before with PB 4.40 and PB 4.41 RC1. The program looks ok during design time, but when I run it, the right border of for example the Frame3DGadget as above is not visible. It works ok with PB 4.31. Guess something must have changed. Maybe more a PB issue rather than PF. I'm not sure.I have noticed an issue with Dock gadget->Fill client area when used with PanelGadgets. When I place another gadget, for example a Frame3DGadget, in a PanelGadget and try to make it fill the client area - it appears to fill a slightly wider area. The same thing with other gadgets.
Regards,
Storck
Re: PureFORM 1.99 (yet another FORM designer)
Amazing!! PureFORM is getting better and better.gnozal wrote:- added an 'Update project' button in 'Preferences -> Custom gadgets' : it allows to update the selected custom gadget in the current project.
This may be handy if you changed some custom gadget settings and want the existing custom gadgets in your project to be updated with the new settings.
Thanks a lot.
Proud registered Purebasic user.
Because programming should be fun.
Because programming should be fun.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
@storck : I tried the following : create a new form, add a panel, add a frame3d into the panel, select 'Fill client area' for frame3d, the run the code with PB4.41 (RC1).
1. Designing the form with PureFORM in classic mode (XP without themes)
1.1. Run the generated code in XP classic mode :

1.2. Run the generated code in XP themed mode :

2. Designing the form with PureFORM in themed mode (XP with themes)
2.1. Run the generated code in XP classic mode :

2.2. Run the generated code in XP themed mode :

There is a minimal difference between forms designed with PureFORM themed or not themed, but the frame3d borders remain visible.
Now it may be different with Vista/Se7en, but I don't know how to handle it.
1. Designing the form with PureFORM in classic mode (XP without themes)
1.1. Run the generated code in XP classic mode :

1.2. Run the generated code in XP themed mode :

2. Designing the form with PureFORM in themed mode (XP with themes)
2.1. Run the generated code in XP classic mode :

2.2. Run the generated code in XP themed mode :

There is a minimal difference between forms designed with PureFORM themed or not themed, but the frame3d borders remain visible.
Now it may be different with Vista/Se7en, but I don't know how to handle it.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
@Gnozal:
This is what I get on Win7. It's not would one would want to display in a software release. Anyways, I guess I have to do it manually. I really liked it the way it worked before. Since it did work with themes when compiled with PB 4.31 even under win7, do you think it is an PB 4.4x issue?
Best Regards (and thank you for a wonderful app
Storck
Themed

No theme

This is what I get on Win7. It's not would one would want to display in a software release. Anyways, I guess I have to do it manually. I really liked it the way it worked before. Since it did work with themes when compiled with PB 4.31 even under win7, do you think it is an PB 4.4x issue?
Best Regards (and thank you for a wonderful app

Storck
Themed

No theme

Re: PureFORM 1.99 (yet another FORM designer)
Just to make sure things don't come across in the wrong way, I wasn't being ironic - I do love PureForm. It truly is a great app, regardless of this minor issue!storck wrote:Best Regards and thank you for a wonderful app
/ Storck
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
I think the same PB code should work on Se7en regardless of the theme.storck wrote:This is what I get on Win7. It's not would one would want to display in a software release. Anyways, I guess I have to do it manually. I really liked it the way it worked before. Since it did work with themes when compiled with PB 4.31 even under win7, do you think it is an PB 4.4x issue?
Furthermore, if the same code executed on XP and Se7en gives different results, I would say it might be a PB issue, especially if it worked with PB4.3x.
But only Fre[d|ak] might know it for sure !
I wouldn't dare to post this issue as a bug

For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Gnozal... this is becoming my favorite tool! I have one question though...
How hard would it be to create a preferred template for the included code looP... You know I work a different code loop than most people but I like it... If there was some way to template that (for me or anyone elses preferred format) that might be a cool feature!

How hard would it be to create a preferred template for the included code looP... You know I work a different code loop than most people but I like it... If there was some way to template that (for me or anyone elses preferred format) that might be a cool feature!
