programatically using tab stops in richTextBox

fguihen

Junior Contributor
Joined
Nov 10, 2003
Messages
248
Location
Eire
i want to programatically add my own tab stops to a rich text box. i have been trying this for a while and cant get it done, and i cant seem to find any examples on the web.

i want simply to be able to add text, through code so that it starts at a specific tab
 
The property you are looking for is RichTextBox.SelectionTabs. To apply it to the entire RichTextBox, select all the text in it first.

I found an article on RichTextBox Tab Stops, but it is written in VB6.
 
Back
Top