Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
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

VB
RichTextBox1.WordWrap = False
RichTextBox1.ScrollBars = RichTextBoxScrollBars.ForcedBoth
 
Share this answer
 
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
Set the WordWrap property to false.
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900