The PureBasic 5.0 Form Designer - A Quick Video Tutorial
The PureBasic 5.0 Form Designer - A Quick Video Tutorial
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
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
Last edited by TI-994A on Thu Apr 20, 2023 12:30 pm, edited 1 time in total.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
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
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
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.
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
Excellent work.
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
....I like the music too!
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Thank you everyone for your kind comments.
Thank you.
Polo wrote:Wow it's very good and shows well how to use the designer, thanks!
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:Nice to watch !
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.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.
Thank you.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
I think you're the one who explained it best!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.
- captain_skank
- Enthusiast
- Posts: 636
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
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
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
- Didelphodon
- PureBasic Expert
- Posts: 448
- Joined: Sat Dec 18, 2004 11:56 am
- Location: Vienna - Austria
- Contact:
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
Nice one!
Go, tell it on the mountains.
- Didelphodon
- PureBasic Expert
- Posts: 448
- Joined: Sat Dec 18, 2004 11:56 am
- Location: Vienna - Austria
- Contact:
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
May I ask which recording software and tools you used for this video?
Go, tell it on the mountains.
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
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.
PureBasic Form Designer Tutorial 2022
As always, please feel free to comment, either here or on YouTube.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel
Re: The PureBasic 5.0 Form Designer - A Quick Video Tutorial
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.