PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: PureForm forgets to insert UsePNGImageDecoder()

Post 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
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 »

Should be fixed in next build.
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 :
- 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).
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 »

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. ;)
Proud registered Purebasic user.
Because programming should be fun.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureFORM 1.99 (yet another FORM designer)

Post by ts-soft »

@byo
go to the settings, custom gadget, scintilla and change it by yourself :wink:

If gnozal this changes, it will point only effekt if you your setting file is deleted
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 »

@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. :D

Regards,

Andre
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:

Re: PureFORM 1.99 (yet another FORM designer)

Post by Kukulkan »

Changes :
- fixed image plugin code generation issue posted by Kukulkan
Thank you! :D

Kukulkan
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 (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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
storck
User
User
Posts: 83
Joined: Sat Oct 18, 2003 4:56 pm
Location: Sweden

Re: PureFORM 1.99 (yet another FORM designer)

Post 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
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 »

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.
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 »

@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 :
Image
1.2. Run the generated code in XP themed mode :
Image

2. Designing the form with PureFORM in themed mode (XP with themes)
2.1. Run the generated code in XP classic mode :
Image
2.2. Run the generated code in XP themed mode :
Image
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).
storck
User
User
Posts: 83
Joined: Sat Oct 18, 2003 4:56 pm
Location: Sweden

Re: PureFORM 1.99 (yet another FORM designer)

Post 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
Image

No theme
Image
storck
User
User
Posts: 83
Joined: Sat Oct 18, 2003 4:56 pm
Location: Sweden

Re: PureFORM 1.99 (yet another FORM designer)

Post 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
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 »

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 :wink:
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: PureFORM 1.99 (yet another FORM designer)

Post 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!

8)
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Post Reply