trichview.com

trichview.support




Re: mouse coordinates


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/13/2004 20:26:57


var pt: TPoint;


GetCursorPos(pt);

pt := rv.ScreenToClient(pt);



> Hey,

> I'm doing my own word selection in TRichViewEdit (by default occurs on

mouse

> Dbl Click in RVE)

> but I don't know where to put this my own code,

> a) if to put in RVE.OnRVMouseUp, i don't know how to catch event if mouse

> was doubleclicked there, but everything works fine here

> if mouse once clicked,

> b) if to put in RVE.OnRVDblClick, I don't know hot to get mouse

coordinates

> in Richview, is there a RVE method to get mouse coordinates?

>

>

> --

> ________________________________

>    Marius ̃emaitis

>

>





Powered by ABC Amber Outlook Express Converter