Click here to Skip to main content
14,327,888 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello,
I'm able to view vertical scrollbar if text is beyond the textbox but i'm unable to view the horizontal scrollbar. Can u help me to come up with this issue....
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 2

RichTextBox1.WordWrap = False
RichTextBox1.ScrollBars = RichTextBoxScrollBars.ForcedBoth
   
Comments
Olivier Levrey 14-Mar-11 8:44am
   
Setting WordWrap to false should be enough. Anyway, my 5.
Sergey Alexandrovich Kryukov 14-Mar-11 15:37pm
   
Correct, the key is WordWrap, my 5.
ForcedBoth is not required (you should have noted that; OK, I don't want to re-vote).
--SA
Rate this:
Please Sign up or sign in to vote.

Solution 1

Set the WordWrap property to false.
   
Comments
Sergey Alexandrovich Kryukov 14-Mar-11 15:36pm
   
This is the key, a 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100