Page 79 of 103
Re: PureForm forgets to insert UsePNGImageDecoder()
Posted: Mon Jan 11, 2010 7:46 am
by Kukulkan
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
Re: PureForm forgets to insert UsePNGImageDecoder()
Posted: Mon Jan 11, 2010 10:41 am
by gnozal
Should be fixed in next build.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Jan 11, 2010 10:41 am
by gnozal
Update
Changes :
- fixed image plugin code generation issue posted by Kukulkan
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Jan 11, 2010 10:54 pm
by byo
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:
Code: Select all
If InitScintilla("Scintilla.dll") = 0
End
EndIf
with:
Code: Select all
If InitScintilla("Scintilla.dll") = 0
MessageRequester("Error", "The file 'Scintilla.dll' could not be found in the application folder.")
End
EndIf
Or something like this.

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Jan 11, 2010 11:08 pm
by ts-soft
@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
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Jan 11, 2010 11:41 pm
by byo
@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
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Tue Jan 12, 2010 8:48 am
by Kukulkan
Changes :
- fixed image plugin code generation issue posted by Kukulkan
Thank you!
Kukulkan
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed Jan 20, 2010 11:46 am
by gnozal
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
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Thu Jan 21, 2010 2:30 pm
by storck
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.
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.
Regards,
Storck
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Thu Jan 21, 2010 4:16 pm
by byo
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.
Amazing!! PureFORM is getting better and better.
Thanks a lot.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Fri Jan 22, 2010 10:13 am
by gnozal
@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.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Fri Jan 22, 2010 12:19 pm
by storck
@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

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Fri Jan 22, 2010 12:22 pm
by storck
storck wrote:Best Regards and thank you for a wonderful app

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
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Fri Jan 22, 2010 12:48 pm
by gnozal
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?
I think the same PB code should work on Se7en regardless of the theme.
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

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Tue Feb 02, 2010 12:37 am
by Rook Zimbabwe
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!
