Arrow/TAB not working in tables
Posted: Tue Mar 25, 2008 2:03 am
Sergey,
This is an odd question ... my apologies.
I compiled my entire application as an ActiveX control. TRichViewEdit generally works fine. The arrow and TAB keys work as expected in a plain document.
When the cursor is within a table, the arrow keys treat the table as a single object, and pressing the right arrow key, for example, moves the cursor to the right of the table, not the next character in the cell or the next cell if there are no more characters.
If TRichViewEdit is part of a modal dialog there is no problem.
Do I need to intercept the key and call a method in the top level editor to carry out the key stroke? Is there a way of doing this?
This is an odd question ... my apologies.
I compiled my entire application as an ActiveX control. TRichViewEdit generally works fine. The arrow and TAB keys work as expected in a plain document.
When the cursor is within a table, the arrow keys treat the table as a single object, and pressing the right arrow key, for example, moves the cursor to the right of the table, not the next character in the cell or the next cell if there are no more characters.
If TRichViewEdit is part of a modal dialog there is no problem.
Do I need to intercept the key and call a method in the top level editor to carry out the key stroke? Is there a way of doing this?