how get position of the current cursor in a TTMSFMXMemo

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?


You can access the caret position with

  TTMSFMXMemoOpen = class(TTMSFMXMemo);


tks, I will test it..

I h've tested this and it works.

Thanks and greetings...