LocateXY Help
Author |
Message |
jolly50
|
Posted: Sat Nov 03, 2007 9:08 pm Post subject: LocateXY Help |
|
|
Hello there,
I'm trying to make a sign in turing using locatexy... my problem is that when i run my code I get the writing, but its leaving a white trail through the box.
code: |
drawbox (150,300,435,100,9)
locatexy (200,200)
put "Jolly's Fabulous Burgers"
|
Am i missing something in my code? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
CodeMonkey2000
|
Posted: Sat Nov 03, 2007 9:25 pm Post subject: RE:LocateXY Help |
|
|
Put a .. at the end of your put statement. |
|
|
|
|
|
HeavenAgain
|
Posted: Sun Nov 04, 2007 12:05 am Post subject: RE:LocateXY Help |
|
|
Font.Draw << look that up
when working with graphics + text, you might not want to use put |
|
|
|
|
|
Clayton
|
Posted: Sun Nov 04, 2007 8:58 am Post subject: RE:LocateXY Help |
|
|
The reason you're getting that white line, is because put clears a line (because it uses text mode), and then outputs the text to that line. If you're really interested in doing this, go with HeavenAgain's advice, and look up Font.Draw(). |
|
|
|
|
|
jolly50
|
Posted: Sun Nov 04, 2007 9:50 am Post subject: RE:LocateXY Help |
|
|
Thanks for all your help |
|
|
|
|
|
CodeMonkey2000
|
Posted: Sun Nov 04, 2007 1:02 pm Post subject: Re: LocateXY Help |
|
|
I told you just do this:
Turing: |
drawbox (150, 300, 435, 100, 9)
locatexy (200, 200)
put "Jolly's Fabulous Burgers" .. |
|
|
|
|
|
|
|
|