PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

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

Re: code infusion, focus

Post by gnozal »

michel wrote:Within Pureform you give, by right click on a gadget, the focus to the right code infusion place except when clicking on a menu or a submenu point.
Could you please correct that
I am afraid this won't happen on short notice, because the form menus use #PB_Any and EventMenuID() doesn't work then (still using PB3.94 for PureFORM [old project]), so I can't tell easily wich menu item was selected.
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:

Post by gnozal »

Update

Changes :
- updated GetPBFolder() for Vista compatibility
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: PureFORM 1.91 (yet another FORM designer)

Post by NoahPhense »

Sweet.. with this and japbe .. im lovin it

Thanks bro!

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

Post by gnozal »

Update

Changes :
- added new item to PanelGadget context menu : 'Swap current Tab with next Tab'
- fixed possible resizing bug when switching back from 'Preview' to 'Build' mode
- some other minor fixes
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
klaver
Enthusiast
Enthusiast
Posts: 147
Joined: Wed Jun 28, 2006 6:55 pm
Location: Schröttersburg

Post by klaver »

New option please :) :
- If grid is active, snap to grid during gadget resize

Snaping to grid while moving need some fixes too. When you move to left and top it's easy and smooth, but when you try to move the gadget to the right or bottom it's hard - you have to fight with your cursor being reversed to the starting position. The 'Window properties' window is flickering too.
Peter_DK
User
User
Posts: 20
Joined: Fri Feb 17, 2006 5:09 pm
Location: Denmark

Crash detected in Pureform..

Post by Peter_DK »

Hi Gnozal.

Wonderfull tool you've made. Excellent work!

I've been using it for quite some time now and just stumbled into
a small problem.

The explorer gadgets (Tree/listview) seems to cause a crash if you activate a drive with no media inserted.

I get the following message:

Pureform has crashed(error = C0000005)

'An attemped read or write to/from an address which that process isn't allowed'

Module C:\Purebasic394\Program\PureForm_New.pb; Line: 8810

Pureform then shuts down.

Anyway...Keep up the good work. Your efforts are much appreciated ;)

Best regards
When I do good, I feel good;
when I do bad, I feel bad,
and that is my religion.

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

Re: Crash detected in Pureform..

Post by gnozal »

Peter_DK wrote:The explorer gadgets (Tree/listview) seems to cause a crash if you activate a drive with no media inserted.

I get the following message:

Pureform has crashed(error = C0000005)

'An attemped read or write to/from an address which that process isn't allowed'

Module C:\Purebasic394\Program\PureForm_New.pb; Line: 8810

Pureform then shuts down.
When I create an ExplorerTreeGadget or ExplorerListGadget and change (in gadget properties) the directory to d:\ (where d: is my _empty_ CDROM drive), I get no crash. Same with ExplorerCombo, no problem when I select the empty D: drive.
What do you mean with 'activate a drive' ?

Assuming you are using the latest build (216), line 8810 is the subclassed gadget callback procedure return, so it doesn't help here.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Peter_DK
User
User
Posts: 20
Joined: Fri Feb 17, 2006 5:09 pm
Location: Denmark

Re: Crash detected in Pureform..

Post by Peter_DK »

Hi Gnozal..

By activate, I mean double clicking on a drive with no media inserted such as: ex. A:\ or an empty dvd/cd drive.

The problem isn't a major one, since the problem dissapears when setting the NoDriveRequester parameter and a backup is made called
CRASH[20070903-115409].pbf.

So it seems like the DriveRequester is the problem?

And yes...I'm using the latest build.

I'm using Vista Ultimate if that helps...

Anyway...The previous info is all I get from Pureform.

Best regards

Peter
When I do good, I feel good;
when I do bad, I feel bad,
and that is my religion.

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

Re: Crash detected in Pureform..

Post by gnozal »

Peter_DK wrote:By activate, I mean double clicking on a drive with no media inserted such as: ex. A:\ or an empty dvd/cd drive.
Now I tried the double-click : no problem here on NT4 or XP (!?).
Another Vista feature ...?
Peter_DK wrote:The problem isn't a major one, since the problem dissapears when setting the NoDriveRequester parameter
Good to know
Peter_DK wrote:Anyway...The previous info is all I get from Pureform.
I know, I just wanted to inform you that unfortunately the error line isn't very informative here.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Peter_DK
User
User
Posts: 20
Joined: Fri Feb 17, 2006 5:09 pm
Location: Denmark

Re: Crash detected in Pureform..

Post by Peter_DK »

;)

Yep...Seems like the problem is specific to Vista..I'm running dual boot (XP/Vista) and I'm unable to reproduce the crash in XP.

It's funny, though...

The crash only occurs when double clicking a drive( empty ) It doesn't matter wether I'm in preview mode or not.

However setting it manually in the gadget properties seems to work fine and does not reproduce the crash.

Anyway...Keep up the good work snd thank you for a speedy response :)
When I do good, I feel good;
when I do bad, I feel bad,
and that is my religion.

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

Post by gnozal »

Update

Changes :
- added new option for multilanguage support : you can now choose between array or procedure. See Preferences [F12] -> Code, press F1 for more details, or have a look here : http://freenet-homepage.de/gnozal/PureF ... nces.htm#2
- help file updated
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:

Post by gnozal »

Update (user request)

Changes :
- changed in multilanguage support, procedure. The procedure now has 2 [string] arguments : UniqueID, GadgetText.
Code example : http://freenet-homepage.de/gnozal/PureF ... nces.htm#2
- help file updated
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
#NULL
Addict
Addict
Posts: 1497
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Post by #NULL »

i just played a little with PureFORM, without reading any manual or such.
i added a button .., and then a ExplorerTreeGadget (context menu > add gadget > ..) and leftclick inside the window, then it crashed.

sorry, i do not know if i did handle your VD as it should be handled, and i'm even not shure if it was an ExplorerTreeGadget that i finally choose from the gadget-list. i just toyed and clicked around. anyway a crash shouldn't be the result.

i sent you the CRASH...pbf file and a screenshot via email.

nevertheless, great piece of work!
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I'm getting crashes as well. Try the following :

New form, add a string gadget, change the background color (with or without Purecolor) add another string gadget. CRASH!

Happens with all other gadget types as well.

(Module : C:\Purebasic394\Program\PureFORM_New.pb line 8568.)
I may look like a mule, but I'm not a complete ass.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

#NULL wrote:i added a button .., and then a ExplorerTreeGadget (context menu > add gadget > ..) and leftclick inside the window, then it crashed.
Can't reproduce this.
Assuming you are using build 218, line 8573 is 'ProcedureReturn Result' in the window callback.
I can load your crash.pbf file and resize the ExplorerTreeGadget without any problems.
srod wrote:I'm getting crashes as well. Try the following :
New form, add a string gadget, change the background color (with or without Purecolor) add another string gadget. CRASH!
Can't reproduce this either.
Assuming you are using build 218, line 8568 is 'EndIf' in the window callback.

Could you both post the exact steps to reproduce this ?
Thanks
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply