Page 45 of 103
Re: code infusion, focus
Posted: Mon Aug 13, 2007 9:34 am
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.
Posted: Tue Aug 14, 2007 8:45 am
by gnozal
Update
Changes :
- updated GetPBFolder() for Vista compatibility
Re: PureFORM 1.91 (yet another FORM designer)
Posted: Fri Aug 24, 2007 8:34 pm
by NoahPhense
Sweet.. with this and japbe .. im lovin it
Thanks bro!
- np
Posted: Sat Aug 25, 2007 9:03 am
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
Posted: Sat Aug 25, 2007 6:28 pm
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.
Crash detected in Pureform..
Posted: Mon Sep 03, 2007 9:52 am
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
Re: Crash detected in Pureform..
Posted: Mon Sep 03, 2007 10:26 am
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.
Re: Crash detected in Pureform..
Posted: Mon Sep 03, 2007 11:02 am
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
Re: Crash detected in Pureform..
Posted: Mon Sep 03, 2007 11:17 am
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.
Re: Crash detected in Pureform..
Posted: Mon Sep 03, 2007 11:29 am
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

Posted: Thu Sep 27, 2007 2:48 pm
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
Posted: Fri Sep 28, 2007 11:53 am
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
Posted: Fri Sep 28, 2007 12:34 pm
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!
Posted: Fri Sep 28, 2007 12:50 pm
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.)
Posted: Fri Sep 28, 2007 5:56 pm
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