
-----------------------------------
Da_Big_Ticket
Sat Oct 08, 2005 9:40 am

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

-----------------------------------
Cervantes
Sat Oct 08, 2005 9:56 am


-----------------------------------
Look up Font.Draw, and getch if you don't already know it.

[url=http://www.compsci.ca/v2/viewtopic.php?t=7629]fonts tutorial
[url=http://www.compsci.ca/v2/viewtopic.php?t=3275]getch tutorial

Though neither is especially great.  We need to [url=http://www.compsci.ca/v2/viewtopic.php?t=9619]improve tutorials!

-----------------------------------
jman571
Sun Oct 16, 2005 11:15 pm


-----------------------------------
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.

-----------------------------------
[Gandalf]
Mon Oct 17, 2005 12:15 am


-----------------------------------
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.
