View Single Post
  #1 (permalink)  
Old December 18th, 2006, 05:18 PM
Mocha Mocha is offline
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB .Net TextBox MaxLength

VB 2005. I need to display a multiline text box that does not word wrap. I have the following attributes set on the TextBox:

MaxLength = 0
Multiline = True
WordWrap = False

It all works fine except for long lines - the control seems to auto wrap the text after 1024 characters. Is this a bug? Is there a way around this or another control that I could use to accomplish this? Thanks to anyone who can offer suggestions...