Posted: Thu Mar 02, 2006 10:04 pm Post subject: Italics
How would you change the font so when the user inputs something instead of it being regular letters, the letters are in italics?
Sponsor Sponsor
Delos
Posted: Thu Mar 02, 2006 10:11 pm Post subject: (No subject)
Use the Font.() module.
Turing Documentation (F10) wrote:
example fontID := Font.New ("Ariel:18x12:Italic")
[Gandalf]
Posted: Thu Mar 02, 2006 10:14 pm Post subject: (No subject)
You can use Font.Draw in combination with getch(). When setting the new font, you would add ":Italic", like so: var getFont := Font.New ("Serif:12:Italic").
Another alternative, which will only work on the current computer you are working on, is to change the default put/get font in File -> Preferences -> Run Window -> Font Stuff.
batman
Posted: Fri Mar 03, 2006 4:31 pm Post subject: (No subject)
Thanks for the help. But lets say I had a code like this:
code:
var name :string
get name
put name
What would I have to do in order to make the name the user enters is in italics?
Delos
Posted: Fri Mar 03, 2006 5:45 pm Post subject: (No subject)
Don't use put.
Oh, wait.
Delos wrote:
Use the Font.() module.
Looks like I already answered your question.
batman
Posted: Fri Mar 03, 2006 6:02 pm Post subject: Italics