tabs in RichView

General TRichView support forum. Please post your questions here
Post Reply
PKH
Posts: 4
Joined: Sun Jun 11, 2006 1:55 pm
Location: US

tabs in RichView

Post 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
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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).
Post Reply