PC Review


Reply
Thread Tools Rate Thread

Adjust tab stops in Rich Text Box

 
 
Ed Bitzer
Guest
Posts: n/a
 
      23rd Mar 2005
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



 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      23rd Mar 2005
"Ed Bitzer" <(E-Mail Removed)> schrieb:
> 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
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

 
Reply With Quote
 
Ed Bitzer
Guest
Posts: n/a
 
      24th Mar 2005
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

"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Ed Bitzer" <(E-Mail Removed)> schrieb:
>> 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
> ///
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003: How to read emails in HTML, Rich Text or Plain Text? Spin Microsoft Outlook 2 24th Dec 2008 05:00 AM
How to adjust size of Rich Text field? =?Utf-8?B?Q2hhcmxpZQ==?= Microsoft Word Document Management 0 16th Jul 2007 03:42 PM
Can't view Rich text or Plain Text emails in Outlook 2007 =?Utf-8?B?c3BlZWRidW1wMTY0?= Microsoft Outlook Discussion 0 30th Apr 2007 06:10 PM
Changing Font / Rich Text Formatting / Merging / Text Fileds =?Utf-8?B?RXJpbkpveQ==?= Microsoft Word Document Management 1 23rd Feb 2007 08:53 PM
Outlook 2003 Spelling Check, Plain text vs HTML or Rich text =?Utf-8?B?QmlmZmxlZA==?= Microsoft Outlook Discussion 0 8th Jun 2006 10:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 AM.