User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 455,979 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,786 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 1373 | Replies: 2
Reply
Join Date: Aug 2006
Posts: 57
Reputation: Exelio is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
Exelio Exelio is offline Offline
Junior Poster in Training

Help Wrapping a text in Textbox

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2006
Location: Egypt
Posts: 763
Reputation: RamyMahrous is on a distinguished road 
Rep Power: 4
Solved Threads: 59
Featured Poster
RamyMahrous's Avatar
RamyMahrous RamyMahrous is offline Offline
Master Poster

Re: Wrapping a text in Textbox

  #2  
Nov 27th, 2007
you should change its size to contain all text
B.Sc Computer Science, Helwan University
Microsoft Student Partner
Personal blog http://ramymahrous.blogspot.com/
Arabic technical blog http://fci-h-ar.blogspot.com/
English technical blog http://fci-h.blogspot.com/
Reply With Quote  
Join Date: Oct 2007
Posts: 166
Reputation: Jugortha is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 12
Jugortha Jugortha is offline Offline
Junior Poster

Re: Wrapping a text in Textbox

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

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C# Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 9:20 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC