Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 help with the font
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
appling




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
appling




PostPosted: Sun Nov 02, 2003 3:42 pm   Post subject: (No subject)

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




PostPosted: Sun Nov 02, 2003 4:34 pm   Post subject: (No 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Andy




PostPosted: Mon Nov 03, 2003 11:51 am   Post subject: (No subject)

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




PostPosted: Mon Nov 03, 2003 3:13 pm   Post subject: (No subject)

dodge_tomahawk wrote:
or just use color(blue)


that would only affect the "put" statments... Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Blade




PostPosted: Mon Nov 03, 2003 3:25 pm   Post subject: (No 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.
Tony




PostPosted: Mon Nov 03, 2003 3:53 pm   Post subject: (No 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"
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
appling




PostPosted: Mon Nov 03, 2003 4:34 pm   Post subject: (No subject)

thanks i get it
Sponsor
Sponsor
Sponsor
sponsor
Blade




PostPosted: Mon Nov 03, 2003 5:47 pm   Post subject: (No 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: