Page 41 of 45
Re: Form Designer 5.00 beta 3
Posted: Sat Nov 03, 2012 4:35 pm
by Shardik
Gaetan,
I have downloaded your modified Mac version. After starting "Form Designer.app" the following information is displayed:
PureBasic
The language 'Deutsch' cannot be found"
The default language will be used.
After clicking on OK and scrolling the wheel of my mouse the following error is displayed:
Code: Select all
A program error was detected:
Error Message: Trace trap
Error Code: 5
Code Address: -1870357961
Sourcecode line: 92
Sourcecode file: /Users/gaetandupont-panon/
Documents/gdpcomputing/Purebasic/
FormDesigner/form.pb
Re: Form Designer 5.00 beta 3
Posted: Sat Nov 03, 2012 4:39 pm
by Polo
The language warning is normal, I didnt include language files.
The error is on the WaitWindowEvent line - is the scrollwheel on that mouse working on other canvas gadgets?
Re: Form Designer 5.00 beta 3
Posted: Sat Nov 03, 2012 5:00 pm
by Shardik
Polo wrote:The error is on the WaitWindowEvent line - is the scrollwheel on that mouse working on other canvas gadgets?
You are right. It's not an error in your code but in the CanvasGadget. I will post a bug report in "Bugs - Mac OSX". Thank you for your ultra fast response, Gaetan!
Re: Form Designer 5.00 beta 3
Posted: Sat Nov 03, 2012 5:04 pm
by Polo
Shardik wrote:Polo wrote:The error is on the WaitWindowEvent line - is the scrollwheel on that mouse working on other canvas gadgets?
You are right. It's not an error in your code but in the CanvasGadget. I will post a bug report in "Bugs - Mac OSX". Thank you for your ultra fast response, Gaetan!
Thanks! I was a bit worried to have a bug on the Mac, I've spent ages debugging the app on this OS
As a reminder:
Re: Form Designer 5.00 beta 3
Posted: Sat Nov 03, 2012 11:36 pm
by luciano
I downloaded the new Form Designer, and it worked as the previous one.
I replied just to inform you of a repeatable crash with this pbf file; setting splitter too small or too large (0 or 1000) causes a crash.
Is there any difference from the one which came with PB, that we should test?
Code: Select all
Enumeration #PB_Compiler_EnumerationValue
#Window_0
EndEnumeration
Enumeration #PB_Compiler_EnumerationValue
#Canvas_0
#Canvas_1
#Splitter_0
EndEnumeration
Procedure InitWindow_0()
OpenWindow(#Window_0, 0, 0, 600, 400, "", #PB_Window_SystemMenu)
CanvasGadget(#Canvas_0, 220, 60, 100, 200)
CanvasGadget(#Canvas_1, 329, 60, 151, 200)
SplitterGadget(#Splitter_0, 220, 60, 260, 200, #Canvas_0, #Canvas_1, #PB_Splitter_Vertical | #PB_Splitter_Separator)
SetGadgetState(#Splitter_0, 100)
EndProcedure
Procedure Window_0_Events(event)
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Menu
Select EventMenu()
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
ProcedureReturn #True
EndProcedure
InitWindow_0()
Repeat
event = WaitWindowEvent()
Until Window_0_Events(event) = #False
Re: Form Designer 5.00 beta 3
Posted: Sun Nov 04, 2012 3:21 am
by Polo
No no difference, just compiled with OnError enabled basically!
I'll check the splitter problem soon, thanks for reporting!
Re: Form Designer 5.00 beta 3
Posted: Sun Nov 04, 2012 2:12 pm
by Polo
Luciano, does this crash happen on Windows or Mac? I don't have it on OSX.
I'm adding a check so that you won't be able to set a splitter size that goes beyond the actual gadget size.
Re: Form Designer 5.00 beta 3
Posted: Tue Nov 06, 2012 5:10 am
by Cage
Well I have updated to the new PB5.0 and so far the IDE and Compiler work great on all my projects. How ever I still can not get the Form Designer to work. It starts to load then hangs up, with a Not Responding Error. I get the status bar button showing the program has started, but it never appears because of the Not Responding Error. Older versions of the Form Designer work fine. Even Pure Form works fine other then using the colors for buttons and such. I have tried to track down anything that has anything to do with the Form Designer to no avail.
Re: Form Designer 5.00 beta 3
Posted: Tue Nov 06, 2012 8:45 am
by luciano
Polo wrote:Luciano, does this crash happen on Windows or Mac? I don't have it on OSX.
I'm adding a check so that you won't be able to set a splitter size that goes beyond the actual gadget size.
It crashed under windows xp, I had no time to test with other systems.
Here is something from the Error Message:
Error message: Invalid memory access
Error Code:-1073741819
Code Address: 5014099
Target Address:32
Soucecodeline:998
Sourcecode file: .....\mainevents.pb
Re: Form Designer 5.00 beta 3
Posted: Tue Nov 06, 2012 10:38 am
by Polo
Thanks Luciano, should be fixed!
Cage wrote:Well I have updated to the new PB5.0 and so far the IDE and Compiler work great on all my projects. How ever I still can not get the Form Designer to work. It starts to load then hangs up, with a Not Responding Error. I get the status bar button showing the program has started, but it never appears because of the Not Responding Error. Older versions of the Form Designer work fine. Even Pure Form works fine other then using the colors for buttons and such. I have tried to track down anything that has anything to do with the Form Designer to no avail.
The fact PureForm works has nothing to do with my app.
What statusbar are you talking about? There are none in the Form Designer. Are you launching the executable directly?
Re: Form Designer 5.00 beta 3
Posted: Tue Nov 06, 2012 7:05 pm
by Klonk
One thing that I really miss in the new form designer is support for tooltips.
Maybe I missed it, but if not this is really something essential!!
Re: Form Designer 5.00 beta 3
Posted: Tue Nov 06, 2012 7:08 pm
by Polo
Klonk wrote:One thing that I really miss in the new form designer is support for tooltips.
Maybe I missed it, but if not this is really something essential!!
You're right, I'll put it on my todo list.
Re: Form Designer 5.00 beta 3
Posted: Tue Nov 06, 2012 9:20 pm
by luciano
Gaetan,
something more for the todo list
multiple selection of gadgets (If I remember correctly, it worked in some older release);
buttonimage has the option for toggle, but the set gadget attribute line is not inserted;
and, last but not least, FD should have its own thread in the purebasic forum, now that it is the official designer for PureBasic.

Re: Form Designer 5.00 beta 3
Posted: Tue Nov 06, 2012 10:03 pm
by Polo
Thanks, added to the todo list, hope i'll have the time to work on it this week!

Re: Form Designer 5.00 beta 3
Posted: Wed Nov 07, 2012 12:52 pm
by Polo
Added Tooltip support for next version.
luciano wrote:multiple selection of gadgets (If I remember correctly, it worked in some older release);
It seems to work here?
luciano wrote:buttonimage has the option for toggle, but the set gadget attribute line is not inserted;
Is that line required?