Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting tabs for Rich Text Box in VB.net

Status
Not open for further replies.

jamesrhaynes

Programmer
Nov 1, 2003
19
US
Setting tabs in VB.NET for the rich text box control does not seem to work.

Programatically I put the text into the rich text box. Then 'select all'. Then I should be able to check the current tabs or set new ones with selectiontabs() array.

However, the array is empty and undimensioned even though the text seems to tab correctly to the default settings. I can dimension it, say to .selectiontabs(10) to set 10 tabs. The dimensioning takes place ok but then I am unable to change the values of the tabs to anything other than zero. There is no error when attempting to change them, but they simply do not change from zero.

I am familiar with the working of VB6 tabs for the Rich text box. What am I missing??

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top