Computer Science Canada

help with the font

Author:  appling [ Sun Nov 02, 2003 3:37 pm ]
Post subject:  help with the font

Question i am making a table,so,how to colour the font and add highlight in turing? Sad

Author:  appling [ Sun Nov 02, 2003 3:42 pm ]
Post subject: 

who can help me??????? Confused Confused

Author:  Tony [ Sun Nov 02, 2003 4:34 pm ]
Post subject: 

Confused
code:

Font.Draw(text:string,x:int,y:int,fontID:int,[b]color[/b]:int)


so just pick w/e color you want, I dont see where you're having the problem Confused.

To highlight, you can draw a box behind the text Very Happy

Author:  Andy [ Mon Nov 03, 2003 11:51 am ]
Post subject: 

or just use color(blue) to change text color to blue

Author:  Tony [ Mon Nov 03, 2003 3:13 pm ]
Post subject: 

dodge_tomahawk wrote:
or just use color(blue)


that would only affect the "put" statments... Confused

Author:  Blade [ Mon Nov 03, 2003 3:25 pm ]
Post subject: 

to highlite put statemnts use colour(somecolour) and it will highlite the row, clear the screen and you get a background colour... so just dont do that.

Author:  Tony [ Mon Nov 03, 2003 3:53 pm ]
Post subject: 

to highlight text from put statment, you can use colorback()

just dont forget to switch back
code:

put "one "..
colorback(blue)
put "two "..
colorback(white)
put "three"

Author:  appling [ Mon Nov 03, 2003 4:34 pm ]
Post subject: 

thanks i get it

Author:  Blade [ Mon Nov 03, 2003 5:47 pm ]
Post subject: 

tony wrote:
to highlight text from put statment, you can use colorback()


thats what i meant... i get colourback() and colour() mixed up sometimes Embarassed


: