
-----------------------------------
ahsan17
Wed Jan 17, 2007 7:03 pm

user input font
-----------------------------------
how do you change the font in which the user makes an input?  is there a specific predefined function for this?  if so, what is it?  any help will be appreicated.

I couldn't find anything about this on the turing reference page.

-----------------------------------
lord_pwnerer
Wed Jan 17, 2007 7:21 pm

Re: user input font
-----------------------------------
I think there was already a topic on this.... I believe it had something to do with using hatch and getch... and replacing what the user typed with your own font so it appeared to be the user typing in your font. I can't remember though... use the search tool.

-----------------------------------
ahsan17
Wed Jan 17, 2007 7:50 pm

Re: user input font
-----------------------------------
alright.. i will do a search.  but it will be difficult, though i'll still try.

-----------------------------------
ericfourfour
Wed Jan 17, 2007 9:18 pm

RE:user input font
-----------------------------------
Check out Turing submissions. You have a choice between my Getter class or Freakman's get function.

-----------------------------------
stajanleafs
Fri Jan 19, 2007 5:05 pm

Re: user input font
-----------------------------------
try this!




var name: string

put "Ok type in what you want to say"
        get name
        
var font1 : int
    font1 := Font.New ("BankGothic Md BT BT:100")
    Font.Draw (name, 0, 0, font1,black)

-----------------------------------
Clayton
Fri Jan 19, 2007 5:59 pm

Re: user input font
-----------------------------------
first, please use [code] tags when posting code. second, he doesn't want to see the actual default font while gettin input.
