Wrapping a text in Textbox

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2006
Posts: 57
Reputation: Exelio is an unknown quantity at this point 
Solved Threads: 0
Exelio Exelio is offline Offline
Junior Poster in Training

Wrapping a text in Textbox

 
0
  #1
Nov 27th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: Wrapping a text in Textbox

 
0
  #2
Nov 27th, 2007
you should change its size to contain all text
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 172
Reputation: Jugortha is an unknown quantity at this point 
Solved Threads: 16
Jugortha Jugortha is offline Offline
Junior Poster

Re: Wrapping a text in Textbox

 
0
  #3
Dec 19th, 2007
u can set the scrollBar property to horizontal/Verticla/Both to enble seeing the entire text
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC