Computer Science Canada Italics |
Author: | batman [ 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? ![]() |
Author: | Delos [ Thu Mar 02, 2006 10:11 pm ] |
Post subject: | |
Use the Font.() module. Turing Documentation (F10) wrote: example fontID := Font.New ("Ariel:18x12:Italic") |
Author: | [Gandalf] [ Thu Mar 02, 2006 10:14 pm ] |
Post 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. |
Author: | batman [ Fri Mar 03, 2006 4:31 pm ] | ||
Post subject: | |||
Thanks for the help. But lets say I had a code like this:
What would I have to do in order to make the name the user enters is in italics? |
Author: | Delos [ Fri Mar 03, 2006 5:45 pm ] |
Post subject: | |
Don't use put. Oh, wait. Delos wrote: Use the Font.() module. ![]() |
Author: | batman [ Fri Mar 03, 2006 6:02 pm ] |
Post subject: | Italics |
Thanks for the help! ![]() |