Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
| 'Controls - How to add Horizonal Scroll Bar to Rich Text Box
Option Explicit
'Add a Rich Text Box to your Form. Set the Rich Text Box Scrollbars property to 1
'(for only horizonal scroll bar) or to 3 (for both horizonal and vertical).
Private Sub Form_Load()
RichTextBox1.RightMargin = RichTextBox1.Width + 10000
End Sub |