Re: mouse coordinates

Return to index



Sergey Tkachenko

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

var pt: TPoint;


pt := rv.ScreenToClient(pt);

> Hey,

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


> 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


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



> --

> ________________________________

>    Marius ̃emaitis



Powered by ABC Amber Outlook Express Converter