CompuServe Thread

#Large-Font Textbox Bug?

4 messages in this thread
#1556From: David FriedmanOct 5, 1991 8:21 PM
When the text in a text box is in a large font size (e.g., 24 pt), backspacing the cursar from the end of the text does not wipe out the entire height of the characters – it's as if only the upper 12 points or so is erased, and garbage is left where the lower parts of the characters were. Has anyone else noticed this? (I'm using VB 1.00 – I'm not aware of any further updates). Is there a fix for it? There are 2 Replies.
#1572From: Selden McCabeOct 5, 1991 10:18 PM
I've noticed something similar with even smaller (i.e. 12 or 13.5 point) where the bottom bits of the characters were. The only fix I can think of is to clear the text box — not very elegant and also very slow if you do it on a character by character basis! I'm interested if anyone knows anything about this too. I'll let you know if I discover anything else! Selden There is 1 Reply.
#1577From: Ted M. YoungOct 5, 1991 11:14 PM
Selden, As I told David, a Text1.Refresh will refresh the text box without you needing to do it manually…this will clean up the cursor "leftovers." – Ted
#1576From: Ted M. YoungOct 5, 1991 11:14 PM
David, This is actually a problem with Windows 3.00. The only way to fix it is to do a .Refresh on the text box. For example, if your text box's CtlName is Text1, then a Text1.Refresh should fix things up. – Ted