Grid: initiating cell editing programatically?

*blink* Hey, that's cool. I totally missed that.

The only problem left is the cursor. I do a self.SetGridCursor(row, col)
to tell it where to edit, but when I get rid of the EditControl I want
the cursor not to be visible. Or, better yet, can I just make the
'cursor' not have a visible representation at all?

Thanks a bunch. You rule.

--Stephen

···

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Wednesday, March 10, 2004 9:31 AM
To: wxPython-users@lists.wxwindows.org
Subject: Re: [wxPython-users] Grid: initiating cell editing
programatically?

Stephen Hansen wrote:
> So, i'm doing some nifty things with my grid. I have a grid w/
> multiple lines per record, and when you select a record it
'selects'
> the entire thing, as many rows are in the grid. Works great.
>
> Problem is, I still want the cells to be editable,... I tried...
>
[...]
> So, how do I get that selected cell to be edited?

EnableCellEditControl

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

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org

Stephen Hansen wrote:

*blink* Hey, that's cool. I totally missed that.

The only problem left is the cursor. I do a self.SetGridCursor(row, col)
to tell it where to edit, but when I get rid of the EditControl I want
the cursor not to be visible. Or, better yet, can I just make the
'cursor' not have a visible representation at all?

  grid.SetCellHighlightPenWidth(0)

···

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