how get position of the current cursor in a TTMSFMXMemo

Hi,
I want open a own form at the current cursor-position in a TTMSFMXMemo like the autocompletion-list.

I tried some options, but I cant find how I can get the current position so I can set the top/left of my form correctly. the only data I get is when I cklick into the memo - f.e.:
PressedPosition.X = 110
PressedPosition.Y = 48

how can I get this?

Tks..

You can access the caret position with

type
  TTMSFMXMemoOpen = class(TTMSFMXMemo);

TTMSFMXMemoOpen(TMSFMXMemo1).Caret.Pos

tks, I will test it..

I h've tested this and it works.

Thanks and greetings...