
-----------------------------------
bao_luk
Sun Apr 27, 2008 3:08 pm

URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
Can someone help me with something??

I'm currently doing an assignment regarding this.
The program should show a graphic first, 
and then continue asking the user questions, what i did is this:

     put "This is how the original cookies looks like."
     drawoval (200, 200, 170, 170, 17)
     put "Which type of cookie do your want?"

But when I run the program,
the graphic is shown, but then the words just run on top of it
just like the graphic is being the background.

So, can anyone help me with it,
so that the words and graphic don't overlap each other???

Thankss a lot,,and please reply ASAP.

-----------------------------------
cavetroll
Sun Apr 27, 2008 3:11 pm

RE:URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
I think what you want is the Font.Draw command. This draws text as a graphic at a pixel location.

-----------------------------------
bao_luk
Sun Apr 27, 2008 4:27 pm

Re: RE:URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
I think what you want is the Font.Draw command. This draws text as a graphic at a pixel location.

but how??

-----------------------------------
Sean
Sun Apr 27, 2008 5:11 pm

Re: URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
Or you can use the locate feature.


put "Your Text"
locate (Column,Row)


I think it is that way, might be vice-versa. That will move your text.

-----------------------------------
cavetroll
Sun Apr 27, 2008 5:54 pm

Re: URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------

%You have to declare a font variable
var font : int := Font.New("Arial:12")

Font.Draw("Text to output",100,100,font,12)


This will output the given text on the screen.

-----------------------------------
bao_luk
Sun Apr 27, 2008 8:17 pm

Re: URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
Or you can use the locate feature.


put "Your Text"
locate (Column,Row)


I think it is that way, might be vice-versa. That will move your text.


HOW COME THE COLUMN AND ROW CAN'T BE BIGGER THEN 25?
ANY SOLUTION TO THAT??
SORRY FOR ASKING TOO MUCH  :)

-----------------------------------
CodeMonkey2000
Sun Apr 27, 2008 8:32 pm

RE:URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
Because it will go off screen. And please don't use all caps.

-----------------------------------
cavetroll
Sun Apr 27, 2008 8:36 pm

Re: URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
The reason that the column and row can't be bigger than 25 is because the locate command doesn't specify pixel locations. It is using text viable coordinates. This means that it is using text rows and text columns.

-----------------------------------
CodeMonkey2000
Sun Apr 27, 2008 8:42 pm

RE:URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
Try using locatexy I think that uses pixel coordinates.

-----------------------------------
bao_luk
Sun Apr 27, 2008 9:00 pm

RE:URGENT!!!!&gt;&gt;&gt;Can someone help me with turing graphic pleaaseee
-----------------------------------
OKAYY i got i now
thanks a lot all of u =)
