trichview.com

trichview.support




Re: MDI-children, strange caret jumping ??


Return to index


Author

Message

Stef Mientki

Posted: 04/16/2005 23:11:50




Sergey Tkachenko wrote:

> I cannot reproduce this problem. I have SDI and MDI applications with

> TRichView, and never seen this effect.

> Can you give me step-by-step instructions how to reproduce it?


Sergey,


that's a very good question !

Answering it, forced me to reproduce the error,

and I found only one very specific situation

(which I mostly use :-(

that can cause the error.


So after extensive testing I found the problem:

On opening my application, I open all the documents that where open when

the application last closed. And above that, I open all the documents on

the exact position where the were when the application closed.


Now if the first file to be automatically opened is a MDI-child with a

syn-editor, the caret problem occures in MDI-childs with either a

SynEditor or MDI-childs with a RVE.

By setting the caret behavior in syn-editor different:

   SynEditor.AlwaysShowCaret:=false;

the problems in all other MDI-childs are gone ;-)


For me it stays very weird that a caret setting of

   another component than RVE,

   in another MDI-child

can affect the behaviour of the caret in RVE,

which is also in another MDI-child ??????


thanks for the help Sergey,

and if you've an explanantion,

well I'm still curious.


Stef Mientki





Powered by ABC Amber Outlook Express Converter