Problem with boolean field in wxGrid
Hofer, Greg
Greg.Hofer at gdcanada.com
Wed Aug 8 14:05:01 PDT 2007
Just to add, the "griddemo" application in the "wxWidgets/samples"
directory exhibits the same behavior when you check cell A4.
Greg
-----Original Message-----
From: Hofer, Greg [mailto:Greg.Hofer at gdcanada.com]
Sent: Wednesday, August 08, 2007 2:22 PM
To: wx-users at lists.wxwidgets.org
Subject: Problem with boolean field in wxGrid
WX: 2.8.4
OS: Linux
COMPILER: GCC - using makefile
I have a panel with a wxGrid widget. I've set the column format to be a
"bool" using the SetColFormatBool option. The cell editor and renderer
are also set to the "bool" versions.
When the grid is displayed and I select one of the cells, the selection
control is a tiny little push button but when I leave on the cell by
clicking on another, the selection control changes from a button to a
checkbox. From reading the doc, "bool" fields are supposedly
represented by check boxes, which is what I want. Is there some
configuration option that I'm missing so that the control shows up as a
check box in both cases? Thanks.
Greg
The information contained in this e-mail message is PRIVATE. It may
contain confidential information and may be legally privileged. It is
intended for the exclusive use of the addressee(s). If you are not the
intended recipient, you are hereby notified that any dissemination,
distribution or reproduction of this communication is strictly
prohibited. If the intended recipient(s) cannot be reached or if a
transmission problem has occurred, please notify the sender immediately
by return e-mail and destroy all copies of this message.
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
More information about the wx-users
mailing list