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
tabs in RichView
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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).
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).