PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

glops
User
User
Posts: 38
Joined: Wed Jan 16, 2008 12:53 pm
Location: France

bug ?

Post by glops »

1) BUG ? I create a new window 2ndWindow that I call from a button in main window, and when I link a code 'A_GLOBAL_VARIABLE = 0' in the event at CLOSE Event of object 2ndWindow, code is executed but 2ndWindow not closed anymore...
Is that normal ? When I have no code in that event, I can close it...

2) optional : is it possible to let the code infusion as a separate object like windows list, gadgets lists...because its not very user friendly to click the object, right click with mouse, open code infusion, write code, close code infusion, test, reopen code infusion, etc...in a future version ?

3) optional : Add custom objects with properties ? (like wxWidgets ?)

Otherwise, nice tool ! I use it ! :wink:
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: bug ?

Post by gnozal »

glops wrote:I create a new window 2ndWindow that I call from a button in main window, and when I link a code 'A_GLOBAL_VARIABLE = 0' in the event at CLOSE Event of object 2ndWindow, code is executed but 2ndWindow not closed anymore...
Is that normal ? When I have no code in that event, I can close it...
It's by design.
If you add code for an event, you have to manage the event, i.e. in this case close the window.
PureFORM adds some code to close the window only if there is no user code available.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
hjf
User
User
Posts: 21
Joined: Sun Nov 23, 2008 3:30 pm
Location: Germany

Post by hjf »

Hello Gnozal,

in the ZIP of the update from PureFORM is Build 362, not 363!

hjf
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

hjf wrote:in the ZIP of the update from PureFORM is Build 362, not 363!
I just downloaded it, and it is build 363.
Maybe a cache / proxy issue ... Could you try again ?
http://freenet-homepage.de/gnozal/PureFORM.zip
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
hjf
User
User
Posts: 21
Joined: Sun Nov 23, 2008 3:30 pm
Location: Germany

Post by hjf »

Hello Gnozal,

now it works correct.

Thanks
hjf
swan
Enthusiast
Enthusiast
Posts: 225
Joined: Sat Jul 03, 2004 9:04 am
Location: Sydney Australia
Contact:

Post by swan »

Hi Gnozal,
I love PureForm. Thanx for your effort and making it available to all.

I'm having some issues on this current project where PureForm rapidly gobbles up all available memory whilst working on the form.
I can reproduce it every time but I don't need to do anything in any particular order. Just working normally then after 10 or so minutes it's taken all available memory (4GB). The work around is to shut it down every 5 mins or so and restart it.
I'm using PB4.2 on Vista 64bit.
I'm happy to forward the project &/or work with U to narrow it down.
Any clues ?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

swan wrote:I'm having some issues on this current project where PureForm rapidly gobbles up all available memory whilst working on the form.
I don't know much about Vista, but I heard it is reserving lots of memory for a task compared to XP.
swan wrote:The work around is to shut it down every 5 mins or so and restart it.
Are there any issues apart from the task manager available memory display ?
swan wrote:I'm using PB4.2 on Vista 64bit.
Any clues ?
Not really. I usually work on a PC with 64 Mb total RAM [32 Mb free] (Mb not Gb !) without any problem.
1. Maybe it's a Vista (64) issue ? Could you test your project with WinXP ?
2. Maybe you could post your project so I can test it (with NT4 and XP though).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
swan
Enthusiast
Enthusiast
Posts: 225
Joined: Sat Jul 03, 2004 9:04 am
Location: Sydney Australia
Contact:

Post by swan »

Apologies for the delay. Too many deadlines at the moment, perhaps I should have waited before posting - no harm !

I tested it on XP 32bit and it doesn't seem to be an issue. I don't have Vista 32bit here to test to see if it's a 64bit or anything Vista issue.

The issue came to light after my machine freezing when using PureForm. Upon investigation it wasn't freezing simply virtual memory kicking in. If I closed PureForm it would clear (back to normal). Viewing the resource graph confirmed it all.
Interesting, within a populated project, if I bumped gadgets around (arrow keys) U can see the memory being gobbled on the resource graph and then freed when closed. So quite repeatable.
User avatar
helpy
Enthusiast
Enthusiast
Posts: 552
Joined: Sat Jun 28, 2003 12:01 am

Post by helpy »

PureFORM is a great tool! Thank you gnozal!

I have a little suggestion:

==> In th gadget loop it is possible to choose "Not in event-loop"!

==> It would be helpful, if these gadgets would be not listed in the code infusion window (Gadget Event --> Object --> drop down list). It should stay visible in the Insert enum drop down list.

greetings from germany,
guido
Windows 10 / Windows 7
PB Last Final / Last Beta Testing
Klonk
Enthusiast
Enthusiast
Posts: 173
Joined: Tue Jul 13, 2004 2:17 pm

Post by Klonk »

Is PureForm portable?? i.e. does it leave traces in registry some user directories? Does it support relative directory paths in the configuration???
Bye Karl
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Klonk wrote:Does it leave traces in registry some user directories?
It does not write to the registry. It reads the registry to find PB's installation folder.
PureFORM stores it's preferences in it's own directory (PureFORM.ini).
Klonk wrote:Does it support relative directory paths in the configuration???
I don't know, never tried. I didn't add any specific support for this.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
cas
Enthusiast
Enthusiast
Posts: 597
Joined: Mon Nov 03, 2008 9:56 pm

Post by cas »

swan wrote:Hi Gnozal,
I love PureForm. Thanx for your effort and making it available to all.

I'm having some issues on this current project where PureForm rapidly gobbles up all available memory whilst working on the form.
I can reproduce it every time but I don't need to do anything in any particular order. Just working normally then after 10 or so minutes it's taken all available memory (4GB). The work around is to shut it down every 5 mins or so and restart it.
I'm using PB4.2 on Vista 64bit.
I'm happy to forward the project &/or work with U to narrow it down.
Any clues ?
I had experienced exactly the same memory leaks with Vista x64 + PB4.20 but none so far with Vista x64 + PB4.30. I don't know if this is only coincidence or problem was in PB4.20.
swan
Enthusiast
Enthusiast
Posts: 225
Joined: Sat Jul 03, 2004 9:04 am
Location: Sydney Australia
Contact:

Post by swan »

For the current project I had to convert to PB Visual designer, still with Vista 64 and PB 4.2 just so I could finish it.
But U say something interesting - Pureform doesn't require PB to operate, does it ? If not how could versions make a difference ?
cas
Enthusiast
Enthusiast
Posts: 597
Joined: Mon Nov 03, 2008 9:56 pm

Post by cas »

swan wrote:Pureform doesn't require PB to operate, does it ? If not how could versions make a difference ?
If versions don't make difference then it is probably problem with some specific gadget positions. I used a lot of framegadgets and panelgadgets in the project when i experienced these memory leaks but in current project i don't work with this gadgets and it is all working normal. Also, i had one gadget with negative x and y positions completely off window area accidentally created that i later discovered. Something of that probably caused leaks. This is only my guess.
swan
Enthusiast
Enthusiast
Posts: 225
Joined: Sat Jul 03, 2004 9:04 am
Location: Sydney Australia
Contact:

Post by swan »

I've chalked it down to just another incompatibility with Vista64 and moved on. One day we'll all be using 64 bit OS's ...
Post Reply