Fixing character width in a text box?

TexasAggie
10-17-2006, 03:09 PM
Is there any way I can get the formatting of the text in the text box to be that of the text in the file?

Screenshots:

Gruff
10-17-2006, 04:10 PM
Your Notepad font is set to a non-proportional font. This means that the lowercase letter 'i' takes up the same width as an upper case 'W'

If you set your textbox to use the same font as your notepad is using then things should align.

If you do not like the looks of the notepad font then you could always import the file data into a DataDridView instead of a textbox.

~T

TexasAggie
10-17-2006, 04:47 PM
I set the font to Courier New. I learned something new. Thanks!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum