PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

My favorite tool.

Visual Designer crashes when I'm resizing/moving a container invalidating my window and the new VD15 is for the 1024x768 resolution. They are both great though.

So I stick with this one. :wink:

A sugestion: make an option in the window properties to set the parent window, if needed.

PureFORM is fun! :D
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:

Post by gnozal »

byo wrote:A sugestion: make an option in the window properties to set the parent window, if needed.
You can define a main window [Main menu -> Project -> Set main window / Reset main window].
All other project windows will have the main window as parent.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
andyryu
New User
New User
Posts: 7
Joined: Mon Jul 30, 2007 7:58 am
Location: Shanghai,China

some string just like window title error with chinese char!

Post by andyryu »

when i type chinese chars in window title like ("格式" ), i got ("袷?),
i think it would be an error about string read method , some double byte char can't be read like ascii.
hope author do something for it
i like pureform very much,but this error let me ......
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: some string just like window title error with chinese ch

Post by gnozal »

andyryu wrote:when i type chinese chars in window title like ("格式" ), i got ("袷?), i think it would be an error about string read method , some double byte char can't be read like ascii.
I am sorry, but I have no experience with chinese chars, and PureFORM is still compiled with PB 3.94 (non unicode) anyway.
Also, some chars can't be used as text because PureFORM uses them as separators in the INI file.

Code: Select all

#ProjectSeparator = "¶"
#ListSeparator = "·"
#ListItemSeparator = "¸"
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Lostdragon
New User
New User
Posts: 9
Joined: Sun Mar 13, 2005 3:16 am
Location: U.S.A.
Contact:

Post by Lostdragon »

I like this tool and am using it quite a bit.

However, I find that sometimes when I try to change the font size in a string gadget Pureform crashes.

I sometimes get this error message, but not always.

Pureform has crashed [Error = c0000005]
'An attempted read or write to/from an address to which that process isn't allowed'
module : c:\purebasic394\program\pureform_plus_integrator.pb : line : 8786
The current project will be saved as (path name etc)..

I am using PB 4.10 release on XP SP 2.

I find that if I click enable and then click on the item in the gadget list window before I go to the next string gadget in the form editor then it doesn't crash.

My UI has several tabs, but I'm not sure that is making the problem appear. I do have a lot of gadgets on screen.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Lostdragon wrote:However, I find that sometimes when I try to change the font size in a string gadget Pureform crashes.
...
module : c:\purebasic394\program\pureform_plus_integrator.pb : line : 8786
Unfortunately, the error line is the callback procedurereturn, so it's not very informative.
And I can't reproduce the problem : when does it crash ? When you click on enable ?
Could you try this test build ( http://freenet-homepage.de/gnozal/PureFORM_Test.zip ) and tell me if it still happens ?
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: Menu events

Post by Kurzer »

(Uhh the frog again! ;) ) Hello gnozal,

You wrote on 21st Nov.:
gnozal wrote:Yep, I know, the menu / toolbar item event code is currently linked to the item order. In the current WIP version, each menu item has a unique ID.
I executed your latest test build (see your last post from 10th Dec.) and had a look into the menu editor (yes, I am crazy about this issue). But it seems the menu-constants still change, if I change the text of the menu afterwards.

Is this test build not your current WIP? I hope so....
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Menu events

Post by gnozal »

kurzer wrote:Is this test build not your current WIP? I hope so....
It's not !
It's just a test to see if it fixes Lostdragon's problem. And no answer yet ...

The new PureFORM version [1.98] (with an extended menu builder [icon support, custom enumeration, unique ID for code infusion, ...]) should be out before Xmas.
Just a lot real world work for the moment :wink:
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: Menu events

Post by Kurzer »

gnozal wrote:Just a lot real world work for the moment :wink:
Don't panic, gnozal. I have full sympathy for this.

I would be merely disappointed, if you cancel this menu-modification and don't tell us your decision. There is one guy, who waits imploringly for this feature. ;) (the 'official' VD irks me more and more)
But a straight "No, I have not time to rebuild the menu-stuff yet" would be okay too.

Ciao, Markus

[edit: typo]
Last edited by Kurzer on Thu Dec 13, 2007 5:12 pm, edited 1 time in total.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Menu events

Post by gnozal »

kurzer wrote:There is one guy, who waits imploringly for this feature. ;) (the 'official' VD irks me more and more)
But a straight "No, I have not time to rebuild the menu-stuff yet" would be okay too.
It's already done, I need to test it (this and the new features).
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: Menu events

Post by Kurzer »

gnozal wrote:It's already done, I need to test it (this and the new features).
Image
Lostdragon
New User
New User
Posts: 9
Joined: Sun Mar 13, 2005 3:16 am
Location: U.S.A.
Contact:

Post by Lostdragon »

I'm sorry it took me so long to get back here. I was without power for a long while due to an ice storm.

I tested the version you posted to the forum. It seems to fix the problem I was having, but unfortunately makes a new one elsewhere.

On the test version I can move between gadgets by clicking on them in the design window (the window you move your gadgets around in), adjust the font, and move the gadgets around - that seems to work without crashing. But - if I edit a gadget font (say a checkbox for example) and then click elsewhere on the design window (not on the checkbox) it crashes there.

All I can tell about the new crash so far is that it appears to happen when I change focus from one object to another - specifically after messing around with the font attributes.

Unfortunately I can't get the bug to repeat in a simple menu.

I can send you a copy of my project if that would help. It's just a UI. Perhaps the crash is caused by the way I made my menus. I have a lot of gadgets going and since I'm new to PB I may have used a gadget in a way that it was not meant to be used.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Lostdragon wrote:...
I can send you a copy of my project if that would help.
Yes, that may help, and a brief description how to reproduce the bug.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Lostdragon
New User
New User
Posts: 9
Joined: Sun Mar 13, 2005 3:16 am
Location: U.S.A.
Contact:

Post by Lostdragon »

I sent a description to your e-mail and also sent an attachment of my UI.

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

Post by gnozal »

Lostdragon wrote:I sent a description to your e-mail and also sent an attachment of my UI.
I could reproduce the crash. Only with XP, NT4 works fine.
I don't fully understand why it happens but I may have found a workaround.
Could you try the test build again : http://freenet-homepage.de/gnozal/PureFORM_Test.zip ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply