lux wrote:
> How can I capture the EVT_SET_FOCUS on a wxGrid?

If you want to catch when the grid as a whole gets the focus, use:

 >>> grid.Bind(wx.grid.EVT_SET_FOCUS, self.onGridFocus)


If you want to catch when a cell in the grid gets the focus, use:

 >>> grid.Bind(wx.grid.EVT_GRID_SELECT_CELL, self.onCellSelected)


And, your questions will be better on the wxpython-users list at
http://wxpython.org/maillist.php


-- 
Paul McNett
http://paulmcnett.com
http://dabodev.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to