My app is like a notebook with tree of sections and database.
When I switching from one section to another it saves current richview to file and saves also cursor position. On return to some section it restores all these.
But if my richview has table and cursor set inside the table RichViewEdit stoles focus when I set cursor position.
Table stole focus
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I have a treeview at the left with sections and richviewedit at the right.
Each time when I selecting one section in tree my program saves previous richview data, goes to corresponding section in treeview and loads new data for RichView. And it's restores text and cursor position.
Just example. When I pressing DOWN key when my treeview is focused I'm navigating thru sections. And everything works normal. I'm pressing down...down...down...see next and next and next section.
But when RichView gets table - it stole focus and RichViewEdit became active.
So I need to click to the tree with mouse to continue navigation...
Each time when I selecting one section in tree my program saves previous richview data, goes to corresponding section in treeview and loads new data for RichView. And it's restores text and cursor position.
Just example. When I pressing DOWN key when my treeview is focused I'm navigating thru sections. And everything works normal. I'm pressing down...down...down...see next and next and next section.
But when RichView gets table - it stole focus and RichViewEdit became active.
So I need to click to the tree with mouse to continue navigation...
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: