Search found 12 matches

by Maximus_Primal
Mon Jul 18, 2005 6:47 pm
Forum: The PureBasic Editor
Topic: Pure Basic Editor Question
Replies: 1
Views: 2043

Pure Basic Editor Question

Is there anyway of having it fold all procedures on startup, so that only their names are available and not the complete code within them?

I have quite a few procedures and it is a pain having to fold them up on the first load so that only the bits I want to look at are visable.

Any ideas?

Max
by Maximus_Primal
Mon Jul 18, 2005 3:09 pm
Forum: Coding Questions
Topic: Select...Case question with Window Gadgets.
Replies: 3
Views: 1266

Thanks to both of you for your help on this. I tried both of your suggestions to try and make sense of something and in the end got this:



Procedure AboutWindow(x)
aboutquit=0
Repeat

event = WaitWindowEvent()
Select EventWindowID()
Case #Window_AboutWindow

Select event
Case #PB_Event ...
by Maximus_Primal
Mon Jul 18, 2005 1:52 pm
Forum: Coding Questions
Topic: Select...Case question with Window Gadgets.
Replies: 3
Views: 1266

Select...Case question with Window Gadgets.

I have used PureVisionXP to export the code to a set of windows for my progam with an eventloop for the main window. This (and the examples provided) use the Select...Case set of commands which I am strugling with a little.

I have an "About" window which pops up okay from within the main loop. This ...
by Maximus_Primal
Sat Jul 16, 2005 6:54 am
Forum: Coding Questions
Topic: PurevisionXP Question.
Replies: 1
Views: 885

PurevisionXP Question.

Hi, bought PureVisionXP a coulpe of days ago as I really dislike VisualDesigner (and liked the look of the extra features in PV).

Got a minor problem that I hope someone will know the answer too.

I know you can add gadgets (such as images) inside a PanelGadget by selecting the panel and then ...
by Maximus_Primal
Wed Jul 13, 2005 7:44 pm
Forum: Coding Questions
Topic: Database Question 2
Replies: 3
Views: 1134

Oh right.... I was looking in the wrong place obviously. Sorry for asking such a stupid question and thanks for the simple answer.

Max
by Maximus_Primal
Wed Jul 13, 2005 7:15 pm
Forum: Coding Questions
Topic: Database Question 2
Replies: 3
Views: 1134

Database Question 2

Sorry if this is a stupid question but can you open more than one Database file at a time in Pure Basic? I need to access at least 2 or 3 seperate files for the program I am writing (to save having one large and overly complex database). Is this possible or do I need to open each one seperately as ...
by Maximus_Primal
Tue Jul 12, 2005 9:28 pm
Forum: Coding Questions
Topic: Database Question
Replies: 3
Views: 1119

Thanks. I have downloaded the library mentioned and will take a look at it better this week. I see that it creates a database file in the example code so I am hoping that reading the database back into my code will be just as simple!

Thanks for the heads up on this.

Max
by Maximus_Primal
Tue Jul 12, 2005 7:57 pm
Forum: Coding Questions
Topic: Database Question
Replies: 3
Views: 1119

Database Question

I want to create a program for collecting some items I have. Originally I was going to create my own basic database files but after leaving the program alone for 6 months (to do other projects) I have returned to realise I have no idea what the hell I was up to! :)

So my idea is now to create 2 ...
by Maximus_Primal
Tue Jul 12, 2005 6:26 am
Forum: Coding Questions
Topic: Cannot Compile Old Program.
Replies: 1
Views: 839

Cannot Compile Old Program.

Hi,

Just come back to Pure Basic to try and complete a project left alone for the last 6 months and for some reason it won't compile or run anymore! :(

When I try to compile it in JaPBe, I get the following error:

Line 874: A constant cannot have a type

It seems to do this on ALL programs not ...
by Maximus_Primal
Sat Dec 18, 2004 11:02 pm
Forum: Coding Questions
Topic: Reading Tickboxes in a ListIconGadget
Replies: 3
Views: 1099

That fixed it. Thanks! :lol:
by Maximus_Primal
Sat Dec 18, 2004 9:48 pm
Forum: Coding Questions
Topic: Reading Tickboxes in a ListIconGadget
Replies: 3
Views: 1099

Pupil wrote:i think the item index start at '0'.
Supprisingly I didn't see what you where getting at until just now as I lay in the bath thought of what you said and realise what a pillock I was and why it doesn't work! :D

Thanks I knew it had to be something stupid I had overlooked.

Max
by Maximus_Primal
Sat Dec 18, 2004 7:18 pm
Forum: Coding Questions
Topic: Reading Tickboxes in a ListIconGadget
Replies: 3
Views: 1099

Reading Tickboxes in a ListIconGadget

I have a problem reading the checkboxes within a ListIconGadget for some reason. The ListIconGadget is populated depending on the contents of a file read beforehand. As shown below (The variable EntrySelect is set from an unshown ListIconGadget and 1 is added to it's vaule as a ListIconGadget starts ...