Chris Stone wrote:
Hi All--
Darned if I can figure this out after experimenting with Grid and Window methods:
Given Row and Col index, set the name of the corresponding grid cell (window),
wx.grid.Grid cells are not independent windows. They have an editor control that is active when editing, but that one control may be shared by many or all cells. So you can't assign a window name to the cell.
preferably without changing focus or cursor. I want recover the cell name later when the cell is clicked, since the cell name is the primary key in my database table. This gives me a consistent key all the way across the app.
You could keep an extra dictionary that mapps (row,col) tuples to the name.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!