
-----------------------------------
mike200015
Thu Feb 24, 2005 7:12 pm

Get Font
-----------------------------------
Is there a way to change the font of input. So when the user inputs something, the input will be in a different font  :?:

-----------------------------------
Bacchus
Thu Feb 24, 2005 7:22 pm


-----------------------------------
i dont think theres a hardcoded way but you can make a custom one. just get the key and add it to a string to be drawn with Font.Draw

-----------------------------------
mike200015
Thu Feb 24, 2005 7:28 pm


-----------------------------------
:idea:  :o  good idea, didnt think of that. Thanx :!:

-----------------------------------
Cervantes
Thu Feb 24, 2005 7:32 pm

Re: Get Font
-----------------------------------
Is there a way to change the font of input. So when the user inputs something, the input will be in a different font  :?:

If this is for computer science class (ie. your program only needs to be run on one computer), you can trick your teacher into thinking that you made it with fonts by changing the default font of YOUR run window.  Go to File -> Preferences -> Run Window -> Change Font.

-----------------------------------
mike200015
Thu Feb 24, 2005 7:41 pm


-----------------------------------
lol yea i thought of that, but its not jus gonna b run on 1 comp, my teachers gonna check it on his comp at home

-----------------------------------
mike200015
Thu Feb 24, 2005 7:49 pm


-----------------------------------
i dont think theres a hardcoded way but you can make a custom one. just get the key and add it to a string to be drawn with Font.Draw

i did that, cept when i use get, it still gets the input and shows it in the regualr font, and when you press Enter it puts it in the new font, is thr a way to put it in the new font while its being input also, not just after pressing Enter?

-----------------------------------
Cervantes
Thu Feb 24, 2005 7:51 pm


-----------------------------------
getch()
