Really dumb question

Just starting out? Need help? Post your questions and find answers here.
humungus
User
User
Posts: 14
Joined: Sat Jan 22, 2011 10:01 am

Really dumb question

Post 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!
Gadget
User
User
Posts: 39
Joined: Tue Mar 11, 2014 8:11 pm
Location: UK

Re: Really dumb question

Post 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
Last edited by Gadget on Mon Dec 08, 2014 11:16 am, edited 1 time in total.
humungus
User
User
Posts: 14
Joined: Sat Jan 22, 2011 10:01 am

Re: Really dumb question

Post by humungus »

Thank You very much! :wink:

Exactly what was needed!
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Really dumb question

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
humungus
User
User
Posts: 14
Joined: Sat Jan 22, 2011 10:01 am

Re: Really dumb question

Post 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
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Really dumb question

Post 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
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Really dumb question

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply