How to avoid the “Open IME” popup in a StringGrid?
问题 In a StringGrid, sometimes I get the unwanted menu below when I right-click. Is this a Windows popup? How to I prevent this popup from appearing rather than my own? I have goAlwaysShowEditor in my Options. I have set StringGrid.PopupMenu to my popup. I've set StringGrid.OnMouseDown to show my popup if it's a right click. 回答1: You can override the virtual CreateEditor method like this way (not a good solution though, I know :-): type TStringGrid = class(Grids.TStringGrid) protected function