Page 1 of 1

TRichViewEdi: How do i calculate the carret's Pixelposition?

Posted: Mon Jul 08, 2013 7:27 am
by Memnarch
Hi,
I am currently trying to implement some kind of completion proposal. To show the dialog at the given position, i tried to find a way of calculation the carrets Pixelposition within the TRichViewEdit. But failed so far.

Can someone give an example, hint, tip on how to calculate the pixelposition properly?


Greetings
Memnarch

Posted: Mon Jul 08, 2013 10:48 am
by Sergey Tkachenko
The demo in Demos\*\Assorted\Autocomplete shows a menu at the caret position.

Posted: Mon Jul 08, 2013 11:35 am
by Memnarch
AH, thanks. Forgot to look into the demo-folder...shame on me^^"