Computer Science Canada

Way to get rid of huge white bar underneath input?

Author:  Da_Big_Ticket [ Sat Oct 08, 2005 9:40 am ]
Post subject:  Way to get rid of huge white bar underneath input?

I am using a picture for the background of my program. Is there a way to make it so that when the user is typing something it dosent leave that huge white background behind the text? Its really annoying, and is there a way to change the font of the text that is defaulted for input? Thanks

Author:  Cervantes [ Sat Oct 08, 2005 9:56 am ]
Post subject: 

Look up Font.Draw, and getch if you don't already know it.

fonts tutorial
getch tutorial

Though neither is especially great. We need to improve tutorials!

Author:  jman571 [ Sun Oct 16, 2005 11:15 pm ]
Post subject: 

from what I know (which isin't much) the only way I can change the input text is by using the colour and colourback commands. From what I've seen there's no way to apply the Font.Draw command to the input text.

Author:  [Gandalf] [ Mon Oct 17, 2005 12:15 am ]
Post subject: 

You mean "get"?

I created a Font.Get() function, using getch(), to allow input of text, similar to Font.Draw(), and echo it to the screen. I suggest looking up getch(), it will help you create something similar. I would post my function, but it's not on this computer and you should get some practice creating your own.


: