jamesrhaynes
Programmer
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??
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??