Is there a real short tutorial or small pgm I can download

Everything else that doesn't fall into one of the other PB categories.
vmars
New User
New User
Posts: 5
Joined: Sun Jun 21, 2009 2:32 am

Is there a real short tutorial or small pgm I can download

Post by vmars »

Greetings from Newbie.
I downloaded pb. The visual ide is wonderful.
I put a bunch of controls onto the form and tried to compile to see how the code connects to the controls. But nothing.
Is there a real short tutorial or small pgm I can download, & tinker with?
Thanks!
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

Hi.

I don't use the Visual Designer, but to my knowledge it outputs a code skeleton.

for an impression how the eventloop has to be implemented, you can have a look at the examples in the help,
e.g. in the Paragraph to WaitWindowEvent: http://www.purebasic.com/documentation/ ... event.html

there are also examples all over the forum, i.a. in this discussion: http://www.purebasic.fr/english/viewtopic.php?t=25081
oh... and have a nice day.
User avatar
blueb
Addict
Addict
Posts: 1125
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Post by blueb »

Look for 'Project Options' on the menu bar and click 'include event loop'. This provides a basic loop that will then display your dialog.

--blueb
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Click the banner in my signature to download my book and learn from there. :)
--Kale

Image
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6175
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Well, if Kale goes for self promotion so will I :-)

http://www.xs4all.nl/~bluez/datatalk/pure4.htm#4_events
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

I usually post both kale's and blueznl's links but they beat me to it. :)

cheers
vmars
New User
New User
Posts: 5
Joined: Sun Jun 21, 2009 2:32 am

Post by vmars »

Thanks all!
I scooped all the Docs I could find.
Post Reply