J
Jim Haynes
I cannot set the tab array for the Rich Text Box
control. After I have text in the control, I try the
following where rtb is the name of the rich text box
control:
rtb.selectall()
Redim rtb.SelectionTabs(5) 'to set 5 tabs
rtb.SelectionTabs(0) = 100 'pixels
rtb.SelectionTabs(1) = 200 'etc
....
This has no effect on the selected text. Further I can
immediatly read the contents of the SelectionTabs() array
and all value remain zero. I have struggled for about 2
weeks with every permutation of code and Rtb setting I
can dream up and have not found a way to set the tabs.
The previous VB6 Rich text box control worked fine. Is
this a new bug?
control. After I have text in the control, I try the
following where rtb is the name of the rich text box
control:
rtb.selectall()
Redim rtb.SelectionTabs(5) 'to set 5 tabs
rtb.SelectionTabs(0) = 100 'pixels
rtb.SelectionTabs(1) = 200 'etc
....
This has no effect on the selected text. Further I can
immediatly read the contents of the SelectionTabs() array
and all value remain zero. I have struggled for about 2
weeks with every permutation of code and Rtb setting I
can dream up and have not found a way to set the tabs.
The previous VB6 Rich text box control worked fine. Is
this a new bug?