Page 1 of 1

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

Posted: Sun Jun 21, 2009 2:40 am
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!

Posted: Sun Jun 21, 2009 3:24 am
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

Posted: Sun Jun 21, 2009 2:47 pm
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

Posted: Sun Jun 21, 2009 3:57 pm
by Kale
Click the banner in my signature to download my book and learn from there. :)

Posted: Sun Jun 21, 2009 4:57 pm
by blueznl
Well, if Kale goes for self promotion so will I :-)

http://www.xs4all.nl/~bluez/datatalk/pure4.htm#4_events

Posted: Sun Jun 21, 2009 5:10 pm
by rsts
I usually post both kale's and blueznl's links but they beat me to it. :)

cheers

Posted: Mon Jun 22, 2009 5:05 am
by vmars
Thanks all!
I scooped all the Docs I could find.