Form Designer 5.10

You need some new stunning features ? Tell us here.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

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

Post by wilbert »

Polo wrote:I'm using the same system Fred and Timo use - anyone can make translations then ;)
I didn't even know there was a system until now :shock:
Now I looked I saw the catalog files :)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

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

Post by Polo »

wilbert wrote:I didn't even know there was a system until now
Now I looked I saw the catalog files
They did think it through! ;)
luciano wrote:- it is easy to draw empty gadgets by mistake (and forget them around) when "Text" or "Image gadget" are selected in "Decoration/containers menu", since they are not visible until you select a picture or you add some text.
it would be useful to show something anyway (e.g. a large "x" in an empty gadget)
Added.
luciano wrote:-Text gadget show the text in middle part, but in reality text starts from top.
Fixed.
Jesper wrote:* CTRL-N insert same gadget directly under the last one and start typing caption (good for checkboxgadgets or optiongadgets)
Added (Control + D or ribbon button).

Added the ability to edit the code directly in the Form Designer. This should be used to do some modifications inside the Window Procedure only, has the rest of the code shouldn't be changed right now ;)
I also made my code parser a little bit more intelligent, though it can still grow up a little bit more ;)
All this should probably introduce some new bugs, I'll release a new beta soon!
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

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

Post by Zebuddi123 »

Hi Polo

bugs -- where gadget string is checked as a variable or window title omitted, code generated are missing quotes " "

Code: Select all

Global Window_0

Global Frame3D_0, Text_0, ExplorerCombo_0, ExplorerList_1

Procedure InitWindow_0()
  Window_0 = OpenWindow(#PB_Any, 0, 0, 600, 400, , #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_TitleBar)
  Frame3D_0 = Frame3DGadget(#PB_Any, 10, 10, 580, 380, test window , #PB_Frame3D_Double | #PB_Frame3D_Flat)
  Text_0 = TextGadget(#PB_Any, 20, 10, 330, 20, hey u 2)
  ExplorerCombo_0 = ExplorerComboGadget(#PB_Any, 10, 30, 280, 330, )
  ExplorerList_1 = ExplorerListGadget(#PB_Any, 300, 30, 270, 330, )
EndProcedure

InitWindow_0()

Procedure Window_0_Events(event)
  Select event
    Case #PB_Event_Gadget
      Select EventGadget()
        Case Frame3D_0
          
        Case Text_0
          
        Case ExplorerCombo_0
          
        Case ExplorerList_1
          
      EndSelect
    Case #PB_Event_CloseWindow
      CloseWindow(Window_0)
  EndSelect
EndProcedure
keep up the good work

zebuddi . :)
malleo, caput, bang. Ego, comprehendunt in tempore
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

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

Post by Polo »

Zebuddi123 wrote:bugs -- where gadget string is checked as a variable or window title omitted, code generated are missing quotes " "
Fixed, thanks!
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

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

Post by Zebuddi123 »

dont know if its my system but the application interface fonts are displaying relay badly

Image

Zebuddi. :)
malleo, caput, bang. Ego, comprehendunt in tempore
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

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

Post by Polo »

Looks bad indeed, not sure where to look as I never had this problem before :oops:
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

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

Post by Polo »

jesperbrannmark wrote:* Oh and one of the best functions from Gfa32 form editor; "align width", "align height", "align top", "align left", "align size" - what this does is it copies the height of the last selected gadget to all gadgets. Ie: you have a list of 20 optiongadgets. You mark all of them up, rightclick and align left (now they align by the side), then you click "align width" because when you did it you made them a bit different sizes... Super function.
Added.
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

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

Post by KJ67 »

Looks very nice indeed.

A small thing thue. For smaller apps I often use #pb_ignore for x & y coordinates, would you consider giving this as an option?
The best preparation for tomorrow is doing your best today.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

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

Post by Polo »

KJ67 wrote:A small thing thue. For smaller apps I often use #pb_ignore for x & y coordinates, would you consider giving this as an option?
Sure, I'll put it in the todolist :)
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

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

Post by jesperbrannmark »

A small thing thue. For smaller apps I often use #pb_ignore for x & y coordinates, would you consider giving this as an option?
I understand you can use this for resizegadget, but for setting size (initialising) gadget that doesnt make sense

Code: Select all

CheckBoxGadget(#gadget,#PB_Ignore,#PB_Ignore,300,24,"Test")
Would probably place it at 0,0 or ?

Just want to say, Gaetan - great work. I really would like the facebook 'like' button here. I would just press it over and over again. Great work! (you can make a 'donate now' button that looks like a 'like' button.. hehe)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

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

Post by Polo »

jesperbrannmark wrote:Just want to say, Gaetan - great work. I really would like the facebook 'like' button here. I would just press it over and over again. Great work! (you can make a 'donate now' button that looks like a 'like' button.. hehe)
:mrgreen: Thanks!

Beta 9 is now up, Windows and Mac:
http://www.gdpcomputing.co.uk/formdesigner.html

In addition to what I've added/fixed earlier, the flags should now behave correctly.
Do not rely too much on the live code editor, only the Procedure should be edited (no checks are made), I've added this as a convenience only ;)

Please remember that on OSX version, input/focus is broken on the property list and code editor and can lead to unexpected results.
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

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

Post by Perkin »

Nice load of additions, still to test fully.

Would like to re-state that the redraw/flicker is horrendous when resizing main window (using WinXP, newer Windows may be alright?) - could that be improved?
%101010 = $2A = 42
said
Enthusiast
Enthusiast
Posts: 342
Joined: Thu Apr 14, 2011 6:07 pm

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

Post by said »

Very nice! Excellent work ... this is a great addition to PB, keep up the good work

I noticed you are making many uses of your 'grid' still no intention to sell it separate!

Paypal is good and easy for donation, but is not accessible from many countries, can you add one more button thru Google Checkout !
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

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

Post by Polo »

Perkin wrote:Would like to re-state that the redraw/flicker is horrendous when resizing main window (using WinXP, newer Windows may be alright?) - could that be improved?
I guess it is, as I don't see any flickering on Windows 7. I suggest you should update, Microsoft doesn't support Windows XP anymore.
said wrote:I noticed you are making many uses of your 'grid' still no intention to sell it separate!
Haven't gotten round compiling it to release it, not feasible through DLL/Dylib, and it's a pain maintaining the Tailbite library. It's still available as a source code version but then it's expensive.
said wrote:Paypal is good and easy for donation, but is not accessible from many countries, can you add one more button thru Google Checkout !
Didn't know that, thanks I'll add a Google checkout! ;)
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 - beta 9

Post by Shield »

Polo, it's flickering like hell on my Win7.
I didn't test all the releases but it didn't happen on the last release I tried.
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
Post Reply