Posted: Fri Apr 22, 2011 10:48 am Post subject: Different 'get' font and colour
What is it you are trying to achieve?
When a user enters a word, I want to change the font and colour so that they can write in different font and colour.
What is the problem you are having?
I know the Draw.Font command but i don't know if this can work in here and i don't know how either.
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
%I want the user to input word with different font and colour.
drawfillbox (1,1,maxx,maxy, black)
var answer:string
locate (15,54)
colorback (black)
get answer
Please specify what version of Turing you are using
4.1.1
Sponsor Sponsor
Insectoid
Posted: Fri Apr 22, 2011 11:01 am Post subject: RE:Different \'get\' font and colour
You can change the color of the standard 'get', however you can't change the font. If you want to, you'll need to use getch() and Font.Draw to make your own text fields.
Wreathe
Posted: Fri Apr 22, 2011 11:11 am Post subject: Re: RE:Different \'get\' font and colour
Insectoid @ Fri Apr 22, 2011 11:01 am wrote:
You can change the color of the standard 'get', however you can't change the font
yea but how do i change the color of the standard 'get'?
Tony
Posted: Fri Apr 22, 2011 11:33 am Post subject: RE:Different \'get\' font and colour