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

General TRichView support forum. Please post your questions here
Post Reply
Memnarch
Posts: 24
Joined: Mon Jul 08, 2013 7:21 am

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

Post 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
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The demo in Demos\*\Assorted\Autocomplete shows a menu at the caret position.
Memnarch
Posts: 24
Joined: Mon Jul 08, 2013 7:21 am

Post by Memnarch »

AH, thanks. Forgot to look into the demo-folder...shame on me^^"
Post Reply