trichview.com

trichview.support




Re: RichView


Return to index


Author

Message

shmp

Posted: 03/12/2002 18:36:55


Thanks for your speedy reply.


"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:3c8e195d$1@support.torry.net...

> You can get information about item at the specified coordinates:

>

> var RVData: TCustomRVFormattedData;

>     ItemNo, Offs: Integer;

>

>   inc(X, rv.HScrollPos);

>   inc(Y, rv.VScrollPos*rv.VSmallStep);

>   rv.RVData.GetItemAtEx(X,Y,RVData,ItemNo,Offs);

>   if ItemNo<0 then

>     exit;

>   // item is the ItemNo-th item in RVData.

>

> Where (X,Y) - client coordinates, for example coordinates passed in

> OnRVMouseUp.

>

> > Hi Sergey,

> > It looks easy with RichViewEdit but cannot I get the number of a clicked

> > item in a table in RichView? Any help?

> >

> > Thanks in advance.

> >

> > Henry.

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter