Posted: Thu Feb 24, 2005 7:12 pm Post subject: 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
Sponsor Sponsor
Bacchus
Posted: Thu Feb 24, 2005 7:22 pm Post subject: (No subject)
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
Posted: Thu Feb 24, 2005 7:28 pm Post subject: (No subject)
good idea, didnt think of that. Thanx
Cervantes
Posted: Thu Feb 24, 2005 7:32 pm Post subject: Re: Get Font
mike200015 wrote:
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
Posted: Thu Feb 24, 2005 7:41 pm Post subject: (No subject)
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
Posted: Thu Feb 24, 2005 7:49 pm Post subject: (No subject)
Bacchus wrote:
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
Posted: Thu Feb 24, 2005 7:51 pm Post subject: (No subject)