Form Designer 5.10

You need some new stunning features ? Tell us here.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer for Mac/Windows/Linux

Post by Polo »

beta 1 is available (see first message), feel free to test!
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Form Designer for Mac/Windows/Linux

Post by IdeasVacuum »

Looks really good - I especially like the ribbon bar along the top. 8)

When selecting/defining attributes, having to double-click becomes a bit onerous.

If I change the var name of an Object (may be that should be 'Gadget') in properties, it often doesn't 'stick', instead it returns to the default name in the Objects tree, but retains the new name in the Code Viewer.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer for Mac/Windows/Linux

Post by Polo »

IdeasVacuum wrote:If I change the var name of an Object (may be that should be 'Gadget') in properties, it often doesn't 'stick', instead it returns to the default name in the Objects tree, but retains the new name in the Code Viewer.
The list doesn't get updated, fixed for next beta ;)
IdeasVacuum wrote:When selecting/defining attributes, having to double-click becomes a bit onerous.
True, I'll try to change that.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: Form Designer for Mac/Windows/Linux

Post by srod »

Awesome work. Very well done. Is the ribbon control based upon a canvas gadget?

A couple of bugs I've noticed : place a control on a window and then resize the window so that it's bottom edge lies above the bottom of the button (which means that part of the button should be hidden) and you will find that the whole button is still rendered, partly outside of the window!

Place a button inside a container. First I cannot seem to select the container with a mouse click. Second, move the button around and the button's position seems to drift further and further from the cursor position.

Great job though; it looks great.
I may look like a mule, but I'm not a complete ass.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer for Mac/Windows/Linux

Post by Polo »

srod wrote:Awesome work. Very well done. Is the ribbon control based upon a canvas gadget?
Yes, almost everything is Canvas based :oops:
srod wrote:A couple of bugs I've noticed : place a control on a window and then resize the window so that it's bottom edge lies above the bottom of the button (which means that part of the button should be hidden) and you will find that the whole button is still rendered, partly outside of the window!
Well spotted, will correct that!
srod wrote:Place a button inside a container. First I cannot seem to select the container with a mouse click.
You can select a container by clicking on its edges (as clicking inside the container is reserved to create gadgets inside it)
srod wrote:Second, move the button around and the button's position seems to drift further and further from the cursor position.
True, will check that, thanks!
IdeasVacuum wrote:When selecting/defining attributes, having to double-click becomes a bit onerous.
This is changed to a single click for next beta.
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: Form Designer for Mac/Windows/Linux

Post by Shield »

Hi

Looks neat :) Don't have the time to test the whole thing at the moment,
bit I noticed a bug: the program crashes if you place a control and then resize it to zero or below in width or height.


Keep up the good work!


Edit:
In addition (but not a bug, rather a missing feature): you can't place controls starting from the top right dragging them
to the bottom left to set the initial size.
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer for Mac/Windows/Linux

Post by Polo »

Thanks all, I added all bugs to my buglist, new beta to follow once all is fixed :)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Form Designer for Mac/Windows/Linux

Post by ts-soft »

Looks good :D

There is a bug with create scintilla:

Code: Select all

Scintilla_0 = ScintillaGadget(#PB_Any, 190, 100, 260, 170, )
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer for Mac/Windows/Linux

Post by Polo »

All reported bugs should be fixed in beta 2 :)

http://www.gdpcomputing.co.uk/formdesigner.html
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: Form Designer for Mac/Windows/Linux - beta 2

Post by srod »

Resize the window to have a height of say 40.

You can then draw out a new control outside of the window! That is, you can start the click and drag sizing outside of the window - which looks a bit odd! :)
I may look like a mule, but I'm not a complete ass.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer for Mac/Windows/Linux - beta 2

Post by Polo »

luciano
Enthusiast
Enthusiast
Posts: 151
Joined: Wed Mar 09, 2011 8:25 pm

Re: Form Designer for Mac/Windows/Linux - beta 2

Post by luciano »

Thank you Polo, for this nice software.
I am testing it with #PB_ANY disbled and I realized that same constant names are repeated twice in Image gadgets (in this example it is #Image_0).

Code: Select all

Enumeration
  #Window_0
EndEnumeration

Enumeration
  #Text_0
  #Image_0
  #Text_1
EndEnumeration

UsePNGImageDecoder()

Enumeration
  #Image_0
EndEnumeration

LoadImage(#Image_0,"C:\ZZZZ_Piel_XT\Explorer\Phone_sEnd.png")

Procedure InitWindow_0()
  OpenWindow(#Window_0, 0, 0, 600, 400, "", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_TitleBar)
  TextGadget(#Text_0, 250, 30, 180, 170, "")
  ImageGadget(#Image_0, 50, 30, 150, 90, ImageID(#Image_0))
  TextGadget(#Text_1, 70, 210, 190, 150, "")
EndProcedure

InitWindow_0()

Repeat
  event = WaitWindowEvent()
  
  Select event
    Case #PB_Event_Gadget
      Select EventGadget()
        Case #Text_0
          
        Case #Image_0
          
        Case #Text_1
          
      EndSelect
    Case #PB_Event_CloseWindow
      Select EventWindow()
        Case #Window_0
          CloseWindow(#Window_0)
      EndSelect
  EndSelect
  
Until event = #PB_Event_CloseWindow
End


Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer for Mac/Windows/Linux - beta 2

Post by Polo »

Thanks Luciano, fixed for next beta :)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Form Designer for Mac/Windows/Linux - beta 2

Post by Polo »

Don't hesitate to report bugs/ask for feature on the Visual Designer forum, it'll be easier to track them up! :)
http://www.purebasic.fr/english/viewforum.php?f=18
luciano
Enthusiast
Enthusiast
Posts: 151
Joined: Wed Mar 09, 2011 8:25 pm

Re: Form Designer for Mac/Windows/Linux - beta 3

Post by luciano »

I sent a donation by Amex with PayPal.
I hope you will receive it correctly, I got a confirmation e-mail with my address not correctly reported (my Country is Italy not France) but everything else should be OK.
If you have any problem with this, I will try to correct it.
Sorry I have no experience with PayPal

Luciano

P.s.
viewforum.php?f=18 seems to be Purebasic editor, not Visual editor thread.
Post Reply