Page 1 of 1

Really dumb question

Posted: Sun Dec 07, 2014 9:28 pm
by humungus
Hi guys,

after lot of experiments and trying with different programming(scripting) languages I`m back on PureBasic (nice that now exists and LTS version!). After all , I learned a lot but actually I do not know nothing :mrgreen:



Earlier I used Pureform and Jabpe (I saw it`s abandoned project, so will not use it anymore...), and succesfully made some simple utilities for my own needs. Of course, it worked well.

Today I installed PB 5.24 LTS and started to create new utility and...now I`m little bit confused.
Form is created without any problems, but....I realized that now is little different. I cound`t make that even simple Button click work.

Can You explain me please, how things is organized now ? If I saw well I need *.pbf (form file) and *.pb (file with code) that it could work.
Do You have some really basic example or tutorial just to see, "what is what" and how to start work now?

Thanx!

Re: Really dumb question

Posted: Sun Dec 07, 2014 9:45 pm
by Gadget
There's no such thing as a dumb question, if you don't know the answer.

Here's a good post that helped me ...

http://forums.purebasic.com/english/vie ... 22&t=55934

Re: Really dumb question

Posted: Sun Dec 07, 2014 10:02 pm
by humungus
Thank You very much! :wink:

Exactly what was needed!

Re: Really dumb question

Posted: Sun Dec 07, 2014 10:13 pm
by IdeasVacuum
....you don't have to do it that way though - you can simply use the form designer to define the basic form layout, then edit the code as a .pb or .pbi as required. Keep the .pbf separate as a handy tool for changing the layout design should you need to.

Re: Really dumb question

Posted: Sun Dec 07, 2014 10:30 pm
by humungus
Thanx for the tip!

Already started to make small utility, so far so good...

Main problem is that I really did not used PB for a long time (my mistake!) and I forgot a lot of it. I will try to find my old projects to remind, I hope that I kept source files, exe version I think that I save somewhere.
I do not intend to experiment anymore, PB is perfect for my needs (but some people need time to understand).

Also, maybe I`m wrong (but I doubt), if I remember well with Gnozal's tools double click on button gadget already generated click button event...now I need to do it manually.

Just need time for "Total Recall" and "I`ll be back" :D

Re: Really dumb question

Posted: Sun Dec 07, 2014 10:41 pm
by Vera
Thanks for the link Gadget :-)

I too haven't tried the designer yet and no idea how it is meant to be used.

greets ~ Vera

Re: Really dumb question

Posted: Mon Dec 08, 2014 2:48 am
by IdeasVacuum
...yeah, unfortunately Gnozal's libs are no longer being kept up to date. They were really good :cry: However, some of the functions are delivered by PB now, and you will find code snippets on the forum that replace other bits of Gnozal's libs too.
Not sure how long you have been away from PB, but one of the most useful 'recent' additions has been the Canvas Gadget.