[wxPython] cell editor/renderer question

Robin

For what its worth, I think that equating empty cells to zero is a mistake.
I think that they should be null or empty. If you think about how the
fucntions in a spreadsheet work you will see what I mean, ie isempty()
isnull().

Regards

Lynndon Harnell

···

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Wednesday, 6 February 2002 7:02 AM
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] cell editor/renderer question

however, this code behaves strangely on my system (wxPython 2.3.2.1 and
Python 2.1.1 under Linux 2.4.2). the last value entered in any cell in
column 0 is automatically entered when i click on any other empty cell
in column 0.

The debug version has an assert message that would probably have helped you,
("this cell doesn't have numeric value"). If you put zeros in the cells
then it should work. However I think empty cells should be treated as zero
so I'll do a fix for this.

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

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

For what its worth, I think that equating empty cells to zero is a

mistake.

I think that they should be null or empty. If you think about how the
fucntions in a spreadsheet work you will see what I mean, ie isempty()
isnull().

Hmm... Good point. Of course that makes the fix much more complicated.
<wink>

···

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