Search found 15 matches

by MPrimal
Tue Dec 06, 2005 2:24 pm
Forum: Coding Questions
Topic: Can you put a Scrollarea gadget inside a panel gadget?
Replies: 4
Views: 1326

MPrimel: Could you put "improved" source code in this topic ?
Thanks.

The only bit I altered was this:


AddGadgetItem(Gadget_TFDB_Main_Panel2,-1,"Toy")
Gadget_TFDB_Main_ToyAltMode=ImageGadget(#PB_Any,0,310,220,300,0)
Gadget_TFDB_Main_ToyRobot=ImageGadget(#PB_Any,0,0,220,300,0 ...
by MPrimal
Mon Dec 05, 2005 8:48 pm
Forum: Coding Questions
Topic: Can you put a Scrollarea gadget inside a panel gadget?
Replies: 4
Views: 1326

Got it. Thought it would be something stupid I missed :lol:

Thanks.

Andy
by MPrimal
Sun Dec 04, 2005 9:15 am
Forum: Coding Questions
Topic: Can you put a Scrollarea gadget inside a panel gadget?
Replies: 4
Views: 1326

Can you put a Scrollarea gadget inside a panel gadget?

I need to place a Scrollarea gadget inside a panel gadget so I can display some pictures in it (the amount of pictures will vary hence the use of a scroll area gadget)

As soon as I put it in and run the code all the other gadgets in the window totaly fail to display. Well I think it acutally is all ...
by MPrimal
Sat Dec 03, 2005 10:19 pm
Forum: Coding Questions
Topic: Database SQL question
Replies: 9
Views: 1555

Thanks. That is a HUGE help! I can see how to do what I need now. It is certainly a lot better than what I was doing that's for sure! :)

Thanks again both of you.

Andy
by MPrimal
Sat Dec 03, 2005 2:48 pm
Forum: Coding Questions
Topic: Database SQL question
Replies: 9
Views: 1555


Query.s = "Update MyTableName Set ProductColumn = 'Door Hinge', InfoColumn = 'Brass door hinge' Where RecordId = '55';"

We are updating the "ProductColumn" field outright with the value "Door Hinge" and updating the "InfoColumn" field outright with the value "Brass door hinge'" where the ...
by MPrimal
Sat Dec 03, 2005 10:12 am
Forum: Coding Questions
Topic: Database SQL question
Replies: 9
Views: 1555

Database SQL question

I am using a database file to save some data for a program I am writing. I can create the database and save the data no problem, but if the user edits an entry that is stored I cannot get it to overwrite that entry within the database file.

I get an error saying the line already exists. I assume ...
by MPrimal
Mon Nov 21, 2005 7:36 pm
Forum: Coding Questions
Topic: Problems reading a .mdb database.
Replies: 2
Views: 926

Andy,

Rows stored in a database don't have any specific order, regardless of how they may be displayed.
If you want to retrieve rows in a particular order, use an SQL query with an "ORDER BY" clause, such as:

SELECT * FROM [TableName] ORDER BY [FieldName]

This will guarantee that the rows are ...
by MPrimal
Mon Nov 21, 2005 1:53 pm
Forum: Coding Questions
Topic: Problems reading a .mdb database.
Replies: 2
Views: 926

Problems reading a .mdb database.

I am using a .mdb database created in Microsoft Access to store reference data for my program. It has three sepereate titles in it which are accessed on program start up and the data stored ready for use.

When I try and access one of the titles (the first one) within the database my code starts at ...
by MPrimal
Mon Nov 21, 2005 10:15 am
Forum: Coding Questions
Topic: Is this possible at all?
Replies: 4
Views: 1442

Thank you. That is exactly what I wanted to know. I didn't want the code, just clues on what to do.

Pantcho!!: That is perfect. I understand that completly, even though I am fairly new at this. I can go off and have a play to see what I can do.


Thank you both again.

Andy
by MPrimal
Sun Nov 20, 2005 4:13 pm
Forum: Coding Questions
Topic: Is this possible at all?
Replies: 4
Views: 1442

Is this possible at all?

I am writing a program and I want to do something but have not idea if it is ever possible in Pure Basic.

I would like to be able to either hover over a selection option in a ListIcon (or Right click on it) and for a small thumbnail picture of the item to be displayed roughly where the mouse is.

I ...
by MPrimal
Fri Nov 18, 2005 7:46 am
Forum: Coding Questions
Topic: Gadget Not Initialized. Don't understand why..
Replies: 1
Views: 810

Gadget Not Initialized. Don't understand why..

This sort of follows on from my previous question about Windows not opening. I managed to solve that and can now get all the windows to open without any problems.

On one of the windows there is a ListIconGadget which is set up when the window is created. Whenever I try to add information to that ...
by MPrimal
Thu Nov 17, 2005 2:19 pm
Forum: Coding Questions
Topic: Problems with getting windows to open.
Replies: 1
Views: 741

Problems with getting windows to open.

I have created some windows in PureVisionXP and got them exported but for some reason when I call them, they always fail to appear (with exception of my main window.

The window I am trying to open is created like this:


Procedure.l Window_NewEntry1()
Window_NewEntry1=OpenWindow(#PB_Any,101,63 ...
by MPrimal
Wed Nov 16, 2005 2:48 pm
Forum: Coding Questions
Topic: Purevision Question.
Replies: 3
Views: 1031

Purevision Question.

I cannot for the life of me see the answer to what is probably a really silly question.

I have a window setup in Purevision with 3 windows. When I run the code it creates the first window is opened and useable.

How do I close this window and call one of the other windows into use when needed ...
by MPrimal
Sat Nov 12, 2005 9:10 pm
Forum: General Discussion
Topic: Visual Designer Question
Replies: 1
Views: 857

Visual Designer Question

I have just got PureVisionXP after using Visual Designer for a while. Is there any way of loading Visual Designer screens into PureVision or do I have to start again from scratch? I am hoping to use some of the new fuctions in PureVision to improve on what I have previously created.

Thanks

Andy
by MPrimal
Fri Nov 11, 2005 7:30 pm
Forum: Coding Questions
Topic: Database Question.
Replies: 2
Views: 1168

Database Question.

I am hoping to write a program to help me cataloge my toy collection, which all being well I want to share (the program) one day. My idea on how to do what I want is basically this:

I need two databases of some sorts, one (called for example "Toy.db") which holds a record of all the toys and ...