trichview.com

trichview.support




Re: automatic scrolling puts the richview into view


Return to index


Author

Message

Michel Lefebvre

Posted: 11/23/2004 12:03:16


"Daniel Zimmerman" <daniel@xyz.denovosoftware.com> a écrit dans le message

news: Xns95A9B5377A841danieldenovosoftware@217.106.234.241...

> Thanks, Michel

> I had already tried overriding the AutoScrollInView (to simply do

> nothing), and that seemed to solve my problem.  It looks like you've

> tried some more sophisticated things as well, so i'll look to see if it

> might be applicable to my case too.


I also started with this solution, which is fully satisfactory when you

assume that all caret movements are made by mouse actions. But it does not

handles the 2 following cases :

- Caret moved by keyboard entry with RVEdit (typing text or arrow keys) :

may finally result in caret no longer visible. To avoid this, you need a

particular processing in case RVE

- Focus changed by TAB key to other edit controls of your form : same thing.

To avoid this, you can apply inherited AutoScrollInView for other

single-line edit controls.





Powered by ABC Amber Outlook Express Converter