Form Designer 5.10

You need some new stunning features ? Tell us here.
User avatar
Shardik
Addict
Addict
Posts: 2058
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Form Designer 5.00 beta 3

Post 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
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer 5.00 beta 3

Post 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?
User avatar
Shardik
Addict
Addict
Posts: 2058
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Form Designer 5.00 beta 3

Post 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!
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer 5.00 beta 3

Post 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:
For those who experience errors on windows can you do the same with this exe?
http://www.fileden.com/files/2012/8/19/ ... /FDWin.zip
luciano
Enthusiast
Enthusiast
Posts: 151
Joined: Wed Mar 09, 2011 8:25 pm

Re: Form Designer 5.00 beta 3

Post 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
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer 5.00 beta 3

Post by Polo »

No no difference, just compiled with OnError enabled basically!
I'll check the splitter problem soon, thanks for reporting!
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer 5.00 beta 3

Post 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.
Cage
New User
New User
Posts: 9
Joined: Wed Oct 27, 2010 4:02 pm

Re: Form Designer 5.00 beta 3

Post 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.
luciano
Enthusiast
Enthusiast
Posts: 151
Joined: Wed Mar 09, 2011 8:25 pm

Re: Form Designer 5.00 beta 3

Post 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
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer 5.00 beta 3

Post 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?
Klonk
Enthusiast
Enthusiast
Posts: 173
Joined: Tue Jul 13, 2004 2:17 pm

Re: Form Designer 5.00 beta 3

Post 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!!
Bye Karl
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer 5.00 beta 3

Post 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.
luciano
Enthusiast
Enthusiast
Posts: 151
Joined: Wed Mar 09, 2011 8:25 pm

Re: Form Designer 5.00 beta 3

Post by luciano »

Gaetan,
something more for the todo list :wink:
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. :P
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer 5.00 beta 3

Post by Polo »

Thanks, added to the todo list, hope i'll have the time to work on it this week! :)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer 5.00 beta 3

Post 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?
Post Reply