Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wordwrap in a text box

Status
Not open for further replies.

mackey333

Technical User
May 10, 2001
563
US
How do I make the words in a text box wrap around instead of just continuously going to the right. I'm trying to accomplish a text box like the one you enter your message into on the forum. -Greg :-Q

flaga.gif
 
Set Multiline property to True:

Text1.MultiLine = True

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Hi Greg

you need to set you text boxes multiline property to true and and set the scrollbars property appropriately. This should allow the user to enter data as you need, the scrollbar property is not essential.

Cheers
Steve
 
Thanks guys...I haven't done vb in a while..i was looking for a wordwrap attribute -Greg :-Q

flaga.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top