Is there a way to move focus in the grid control to a specific cell. I am thinking there has to be a way but I went through the list of all functions available and couldn’t find one that will do this.
It will also work if I can just hide the focussing rectangle totally also.
I have a static table and users don’t need to select anything. The cell focus is just coming on my way.
You can't disable the notion of cell focus, but you can hide the focus
highlight by calling SetCellHighlightPenWidth(0).
You can move the focus to a specific cell with SetGridCursor.
···
On 6/21/07, Ananda Regmi <aregmi@gmail.com> wrote:
Hello List,
Is there a way to move focus in the grid control to a specific cell. I am
thinking there has to be a way but I went through the list of all functions
available and couldn't find one that will do this.
It will also work if I can just hide the focussing rectangle totally also.
I have a static table and users don't need to select anything. The cell
focus is just coming on my way.
Is there a way to move focus in the grid control to a specific cell. I am
thinking there has to be a way but I went through the list of all functions
available and couldn’t find one that will do this.
It will also work if I can just hide the focussing rectangle totally also.
I have a static table and users don’t need to select anything. The cell
focus is just coming on my way.
You can’t disable the notion of cell focus, but you can hide the focus
highlight by calling SetCellHighlightPenWidth(0).
You can move the focus to a specific cell with SetGridCursor.
Is there a way to move focus in the grid control to a specific cell. I am thinking there has to be a way but I went through the list of all functions available and couldn't find one that will do this.
grid.SetGridCursor(row, col)
It will also work if I can just hide the focussing rectangle totally also.
grid.SetCellHighlightPenWidth(0)
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!