trichview.com

trichview.support




Re: right click on table


Return to index


Author

Message

CCY

Posted: 01/10/2005 11:22:28


Sorry, I finally found out that it is not the table problem. It is because

of the scrollbar problem.


When the scrollbar is on top run MoveCaretTo(X, Y) in OnRVMouseDown Event

has no problem. The cursor is located at the correct location. But when the

scrollbar has been scrolled to the bottom, the MoveCaretTo(X, Y) will no

longer locate the cursor to the correct location. Why?



"Sergey Tkachenko" <[email protected]> wrote in message

news:[email protected]...

>

> Do you mean clicking on the table border or between cells?

> What's the correct location in this case?

>

> >when right click on a table, i can already detect it as a table but the

> >MoveCaretTo(X, Y) does not work. The caret is moved to somewhere outside

> the

> >table. What should I do to move it to correct location?

> >

> >

>





Powered by ABC Amber Outlook Express Converter