Adjust tab stops in Rich Text Box

  • Thread starter Thread starter Ed Bitzer
  • Start date Start date
E

Ed Bitzer

Appreciate a lead to specifying where the tab stop is (only need one) in a
richtextbox. Use to be able to use an API with VB5.

Ed
 
Ed Bitzer said:
Appreciate a lead to specifying where the tab stop is (only need one) in
a richtextbox. Use to be able to use an API with VB5.

\\\
Private Sub Form1_Load( _
ByVal sender As System.Object, _
ByVal e As System.EventArgs _
) Handles MyBase.Load
Me.RichTextBox1.Text = _
"Hallo" & ControlChars.Tab & _
"Welt" & ControlChars.Tab & _
"Bla"
End Sub

Private Sub Button1_Click( _
ByVal sender As System.Object, _
ByVal e As System.EventArgs _
) Handles Button1.Click
Me.RichTextBox1.SelectAll()
Me.RichTextBox1.SelectionTabs() = _
New Integer() {100, 200, 300}
End Sub
///
 
Herfried,

Do appreciate. Searching under Methods for the RichTextBox I now see said
the blind man. There is so much available I just miss. Biggest problem
leaning to use is to understand the help file which is awsome.

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top