Make cursor rectangle invisible in Grid?

Is it possible to make the cursor invisible in a wxGrid?

I have a panel with a grid and several other controls. When the user is doing something in another control (i.e. the grid does not have the focus), it would make it more obvious where input is going if there was no cursor rectangle showing in the grid.

Thanks,
Michael

Michael Hipp wrote:

Is it possible to make the cursor invisible in a wxGrid?

I have a panel with a grid and several other controls. When the user is doing something in another control (i.e. the grid does not have the focus), it would make it more obvious where input is going if there was no cursor rectangle showing in the grid.

You can use the grid's SetCellHighlightPenWidth method to change the width of the line drawn for the cell cursor.

ยทยทยท

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

Robin Dunn wrote:

Michael Hipp wrote:

Is it possible to make the cursor invisible in a wxGrid?

I have a panel with a grid and several other controls. When the user is doing something in another control (i.e. the grid does not have the focus), it would make it more obvious where input is going if there was no cursor rectangle showing in the grid.

You can use the grid's SetCellHighlightPenWidth method to change the width of the line drawn for the cell cursor.

Thank you. I wouldn't have thought of that in a million years.

That method is not documented at http://wxwidgets.org/manuals/2.5.3/wx_wxgrid.html . Is there some better place to read about such things?

Thank you,
Michael

Hello!

> You can use the grid's SetCellHighlightPenWidth method to change the
> width of the line drawn for the cell cursor.

Thank you. I wouldn't have thought of that in a million years.

That method is not documented at
http://wxwidgets.org/manuals/2.5.3/wx_wxgrid.html . Is there some better
place to read about such things?

Just look into the source files, Michael. I am shure you will be surprised
how many usefull but not anythere documented functions live here.

  Vladimir Ignatov