trichview.support
Re: right click on table |
Author |
Message |
CCY |
Posted: 01/10/2005 11:26:00 Correction!! The MoveCaretTo(X, Y) on work when the scrollbar is on the top most. Once the scroll bar is scrolled, no matter it is on center, top(lower than top most) or bottom, MoveCaretTo(X, Y) will fail. "CCY" <cychia@chrysanth.com> wrote in message news:41e23d7a@support.torry.net... > 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" <svt@trichview.com> wrote in message > news:41dfa3f2$1@support.torry.net... > > > > 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