Form Designer 5.10

You need some new stunning features ? Tell us here.
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 456
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: Form Designer 5.00 beta 3

Post by Mindphazer »

Ok thank you.
One last thing : what will be the "real" name of Form Designer ?
I mean, in some betas, it is spelled "Form Designer", and in others, "FormDesigner"
And even the name of the executable file (in Contents/MacOS is sometimes spelled "Form Designer" and sometimes "FormDesigner"....

By the way, in the last beta of the IDE, launching the visual designer (CMD Y) with the native entry from the tools menu doesn't work. Maybe an issue due to what i explained above ?
Or a bug of the IDE ?...

Thank you !
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
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 »

I don't really control that, but the name doesn't matter much as when it'll be included in the IDE it will have no name at all ;)
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 456
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: Form Designer 5.00 beta 3

Post by Mindphazer »

You mean, it will be a part "inside" the IDE, not an external app ?
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
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 »

In the future yeah! :)
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 456
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: Form Designer 5.00 beta 3

Post by Mindphazer »

Great ! :D
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
Warmonger
Enthusiast
Enthusiast
Posts: 156
Joined: Wed Apr 20, 2011 4:24 pm

Re: Form Designer 5.00 beta 3

Post by Warmonger »

It would be nice for the PureBasic IDE to work exactly like Visual Basic. In a sense you can create your form, and code its functionality in real time. Maybe add a little popup box to the IDE asking what type of application would you like to create (GUI, Console, etc), or to open a existing project.
Its Not A Bug, Its An Undocumented Feature!
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 456
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: Form Designer 5.00 beta 3

Post by Mindphazer »

Maybe a planned feature in the future ? :D
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
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 »

Warmonger wrote:It would be nice for the PureBasic IDE to work exactly like Visual Basic. In a sense you can create your form, and code its functionality in real time. Maybe add a little popup box to the IDE asking what type of application would you like to create (GUI, Console, etc), or to open a existing project.
Well it's basically what's happening right now isn't it? You create the form and can edit the event procedures from the FD :)
morosh
Enthusiast
Enthusiast
Posts: 329
Joined: Wed Aug 03, 2011 4:52 am
Location: Beirut, Lebanon

Re: Form Designer 5.00 beta 3

Post by morosh »

when the unicode support??
PureBasic: Surprisingly simple, diabolically powerful
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 »

I thought Fred had added it, he'll probably do it soon :)
luciano
Enthusiast
Enthusiast
Posts: 151
Joined: Wed Mar 09, 2011 8:25 pm

Re: Form Designer 5.00 beta 3

Post by luciano »

Gaetan,
I have downloaded the latest beta and I have two questions:

what's the best way to use FD in a very simple application?
Maybe a simple example with a pbf file and a pb file with some event procedures would be really useful to explain the workflow with this new tool.

And the second question is: is there a way to add menu events (and relative shortcuts) in code generated by FD?
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 »

I probably should do an example, though I might wait until it gets merged into the IDE so that I can do a proper help page or something!
Basically the best way to use it is to have one form, one event .pb file per form, and then one main .pb file which includes the .pbf files and initialise the windows :)

There's no event support for menus yet, though now I've redone the whole menu editing I should add it!
luciano
Enthusiast
Enthusiast
Posts: 151
Joined: Wed Mar 09, 2011 8:25 pm

Re: Form Designer 5.00 beta 3

Post by luciano »

Basically the best way to use it is to have one form, one event .pb file per form, and then one main .pb file which includes the .pbf files and initialise the windows
Thanks, that's what I am doing. I use the PB IDE to edit pb files only and FD to edit the pbf form.
I have put the files inside a project so that form-generated variables, constants and procedure names are scanned and ready available in the PB editor too.
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 wrote:
Basically the best way to use it is to have one form, one event .pb file per form, and then one main .pb file which includes the .pbf files and initialise the windows
Thanks, that's what I am doing. I use the PB IDE to edit pb files only and FD to edit the pbf form.
I have put the files inside a project so that form-generated variables, constants and procedure names are scanned and ready available in the PB editor too.
Looks nice! :)
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 event support to Menu and Toolbars. It supports constant sharing.
Fixed menu item selection which was a bit difficult if you had a toolbar in the window as well.

Menu/Toolbar procedures should be like this:

Code: Select all

Procedure Menu_New(event_menu_constant)
EndProcedure
(the actual procedure name doesn't matter).

For shortcuts you can add them in the menu items, it will be displayed but the actual shortcut won't be created in the pbf file. I probably can add it easily, I'll see.
Post Reply