Page 1 of 1
tabs in RichView
Posted: Sun Jun 11, 2006 2:04 pm
by PKH
I am trying to activate the tab in RichView. I set the rv.Style.SpacesinTab to 5, but when I true to set rv.TabNavigation to rvtntab I get the following error message: "Not supported in editor".
Any help will be appreciated.
Paul
Posted: Mon Jun 12, 2006 4:23 pm
by Sergey Tkachenko
TabNavigation = rvtntab works only in TRichView (a read-only component), not in TRichViewEdit (an editor). It means that TAB key will focus the next hyperlink or control.
As for the editor, assigning RVStyle.SpacesinTab to 5 does not enable tabs in editor. On the contrary, it disables them. In this mode, when the user presses the TAB key, 5 SPACE characters will be inserted. A tabulator will be inserted if RVStyle.SpacesinTab = 0 (default value).