How to modify or turn off Popup menu in TMS Memo

Hi,

How to modify or turn off the popup menu in TMS Memo?
I want it to be read-only but I didn't set read-only flag to be true because I'd like to have keydown event.
When I set read-only property and keydown event would not be triggered.
So, I change "Key" and "KeyChar" values to be zero in KeyDown event to make it read-only.
But after right click the mouse, there is still popup menu to delete text.

How to disable "Delete" item in popup menu or just disable it?

Hi, 


You can use the following method to clear out the right-click context menu:

TMSFMXMemo1.MemoContext.Clear;

Thanks! It works.