Computer Science Canada

Font Styles Error

Author:  Namis [ Fri Sep 26, 2003 8:55 pm ]
Post subject:  Font Styles Error

getting an error with

var fontID3:int := Font.New ("Arial:15:bold:underline:italic")

it says unknown font style, ive tried using ; in the styles, still no luck.
Any suggestions?

Author:  AsianSensation [ Fri Sep 26, 2003 9:59 pm ]
Post subject: 

var fontID3 := Font.New ("Arial:15:Bold,Underline,Italic")

separate the bold, underline, etc by a comma instead of a colon.

Author:  Namis [ Fri Sep 26, 2003 10:30 pm ]
Post subject: 

thanks asian, should have tried that ;p

Author:  AsianSensation [ Sat Sep 27, 2003 5:07 pm ]
Post subject: 

no problem, though if you want to save some time, just copy and paste out of the help reference, though the help reference does occasionally spll things wrong...


: