Sheela Pillay wrote:
I have a pull-down menu in one of my wxGrid cells.
Right now, I have to click it twice so that the
pull-down actually shows up on the cell.
Is it implemented as a wxGridCellEditor? If so then that's just the way the grid works with the mouse. You need one click to select the cell and another to activate the editor.
If it's not a wxGridCellEDitor then I need more info on how you are trying to do this.
How do I
change it so that I can get it to show up in one click
(i.e immediately when it is selected.)I am using my own CustomTableGrid and upon the left
click event, I get it to ShowCellEditControl() but it
doesn't work.
Okay, it sounds like you are using a cell editor...
So I guess you are using EVT_GRID_CELL_LEFT_CLICK to capture the click and then show the editor? From where are you trying to popup the menu?
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!