Page 1 of 1
The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Sat Dec 01, 2012 8:45 pm
by TI-994A
Hello everyone. I was playing around with the CamStudio screen recorder, and thought that I'd put together a quick guide to the new Form Designer. It's far from comprehensive, but through a simple working example, it outlines the basic concepts of how the designer-generated code works in relation to the required events file. Here's the link:
The PureBasic 5.0 Form Designer - A Quick Tutorial (available in HD)
Please feel free to comment, either here or on YouTube. Hope it'll be useful.
PS: There's also an updated video tutorial here:
>
PureBasic Form Designer Tutorial 2022
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Sat Dec 01, 2012 9:26 pm
by Polo
Wow it's very good and shows well how to use the designer, thanks!
The issue with empty image gadget in the code generation is fixed for next version I think

Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Sat Dec 01, 2012 9:43 pm
by Fred
Nice to watch !
About the Form use, you should organize your files like this:
- have one .pbf per form, as you have. No main event loop inside (or you can only create one form !)
- have one event file, as you have (or store the event in the main file for the small programs)
- have one main file, with the main event loop in it, calling the 'sub' event loop of each forms.
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Sat Dec 01, 2012 11:32 pm
by nospam
Excellent work.
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Mon Dec 03, 2012 12:11 am
by IdeasVacuum
....I like the music too!

Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Mon Dec 03, 2012 4:00 pm
by TI-994A
Thank you everyone for your kind comments.
Polo wrote:Wow it's very good and shows well how to use the designer, thanks!
Fred wrote:Nice to watch !
Hello Fred and Polo. To get these great compliments from the top guys of PureBasic and the Form Designer really makes my day! I thank you sincerely.
Fred wrote:About the Form use, you should organize your files like this:
- have one .pbf per form, as you have. No main event loop inside (or you can only create one form !)
- have one event file, as you have (or store the event in the main file for the small programs)
- have one main file, with the main event loop in it, calling the 'sub' event loop of each forms.
Since I usually code manually, I didn't see the third point. So, the best model would be to pair all the form files (*.pbf) with their corresponding events files (*.pb), and code a separate main file (*.pb) to handle them all; very clean and modular.
Thank you.
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Mon Dec 03, 2012 4:44 pm
by Polo
TI-994A wrote:So, the best model would be to pair all the form files (*.pbf) with their corresponding events files (*.pb), and code a separate main file (*.pb) to handle them all; very clean and modular.
I think you're the one who explained it best!

Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Tue Dec 04, 2012 10:02 am
by captain_skank
Excellent video tutorial TI-994A.
Have to say I never thought of using the files in this way - I normaly just cut and paste code into my own programs, but doing it this way would make editing much cleaner.
Thanks
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Tue Dec 04, 2012 10:47 am
by Didelphodon
Nice one!

Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Wed Feb 13, 2013 9:54 am
by Didelphodon
May I ask which recording software and tools you used for this video?
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Thu Sep 01, 2022 6:35 am
by TI-994A
Hello everyone. I've compiled an updated video tutorial on the Form Designer.
PureBasic Form Designer Tutorial 2022
As always, please feel free to comment, either here or on YouTube.
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Posted: Sun Sep 11, 2022 10:17 am
by radsoft
Thank you TI-994A for your video tutorial which I worked through, it helped a lot. I'll go through it some more times and looking forward to advancing in PureBasic.