943,616 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 4423
  • C# RSS
Nov 27th, 2007
0

Wrapping a text in Textbox

Expand Post »
hi all,

I have a panel which contains a picturebox and two textboxes. in one of the textbox, some large content is to be displayed. this content is dynamic and i want the textbox to wrap the text accordingly.

i set the textbox multiline property to true and also set wordwrap=true. inaddition i set the acceptsreturn=true.

but still the text is not wrapped.

how can i achieve this?



Thanks in advance.

Regards
Exelio
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Exelio is offline Offline
57 posts
since Aug 2006
Nov 27th, 2007
0

Re: Wrapping a text in Textbox

you should change its size to contain all text
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006
Dec 19th, 2007
0

Re: Wrapping a text in Textbox

u can set the scrollBar property to horizontal/Verticla/Both to enble seeing the entire text
Reputation Points: 11
Solved Threads: 16
Junior Poster
Jugortha is offline Offline
172 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: C# code to write in a doc file
Next Thread in C# Forum Timeline: Custom error checking





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC