Computer Science Canada Different 'get' font and colour |
Author: | Wreathe [ 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 |
Author: | Insectoid [ 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. |
Author: | Wreathe [ 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'? |
Author: | Tony [ Fri Apr 22, 2011 11:33 am ] |
Post subject: | RE:Different \'get\' font and colour |
possibly with the color command. |
Author: | Wreathe [ Fri Apr 22, 2011 12:00 pm ] |
Post subject: | Re: RE:Different \'get\' font and colour |
Tony @ Fri Apr 22, 2011 11:33 am wrote: possibly with the color command.
WOW! I feel soo DUMB! Thanks for the answer. Anyway... what grade are you in Tony? You seem to be the 'expert' around here. |
Author: | Insectoid [ Fri Apr 22, 2011 12:04 pm ] |
Post subject: | RE:Different \'get\' font and colour |
Tony's in grad school. |
Author: | Tony [ Fri Apr 22, 2011 2:25 pm ] |
Post subject: | RE:Different \'get\' font and colour |
well, I'm certainly old enough to be in grad school. Will finish undergrad this year though. Switching majors has been a big setback to the schedule. |
Author: | Insectoid [ Fri Apr 22, 2011 2:31 pm ] |
Post subject: | RE:Different \'get\' font and colour |
My bad. |