Page 4 of 45
Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 5:31 pm
by Polo
beta 1 is available (see first message), feel free to test!
Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 5:50 pm
by IdeasVacuum
Looks really good - I especially like the ribbon bar along the top.
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.
Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 5:56 pm
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.
Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 5:58 pm
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.
Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 6:15 pm
by Polo
srod wrote:Awesome work. Very well done. Is the ribbon control based upon a canvas gadget?
Yes, almost everything is Canvas based
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.
Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 7:16 pm
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.
Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 7:30 pm
by Polo
Thanks all, I added all bugs to my buglist, new beta to follow once all is fixed

Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 7:37 pm
by ts-soft
Looks good
There is a bug with create scintilla:
Code: Select all
Scintilla_0 = ScintillaGadget(#PB_Any, 190, 100, 260, 170, )
Re: Form Designer for Mac/Windows/Linux
Posted: Fri Aug 17, 2012 8:41 pm
by Polo
Re: Form Designer for Mac/Windows/Linux - beta 2
Posted: Fri Aug 17, 2012 9:08 pm
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!

Re: Form Designer for Mac/Windows/Linux - beta 2
Posted: Fri Aug 17, 2012 9:53 pm
by Polo
Re: Form Designer for Mac/Windows/Linux - beta 2
Posted: Fri Aug 17, 2012 10:28 pm
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
Re: Form Designer for Mac/Windows/Linux - beta 2
Posted: Fri Aug 17, 2012 10:36 pm
by Polo
Thanks Luciano, fixed for next beta

Re: Form Designer for Mac/Windows/Linux - beta 2
Posted: Fri Aug 17, 2012 10:38 pm
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
Re: Form Designer for Mac/Windows/Linux - beta 3
Posted: Fri Aug 17, 2012 10:56 pm
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.