Problem with popup menu in the standard Grid Editors and Renderers example

Dimitris Karteris wrote:

In the standard example for Grid Editors and Renderers (GridStdEdRend.py) in wxPython 2.8, once you edit a cell and then right-click in order to copy/cut the selected text, the editor is hidden and none of the popup menu's operations have any effect. Is there any way to make these copy/cut operations to work?

This is probably because the Grid is watching for the focus events and will close the editor if it loses focus. When the menu pops up the widget loses focus and so it is closed. Probably the only way to work around this is to bypass the Grid's use of the editor's focus events like how I described it in the "Combo box as grid cell editor" thread.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!