VB.NET Datagridview - capture DataGridViewCheckBoxColumn click event
Posted on 2007-07-25
VB.NET - Datagridview - Capture CheckBoxColumn click...
Hello. I seem to be having a bit of a problem programming in VB.NET 2005.
I have a form. On that form I have a datagridview control. One of those columns I defined as a DataGridViewCheckBoxColumn.
I cannot figure out how to capture when the user checks/unchecks the button.
For instance, once the cell has focus. Already passed by the CellBeginEdit and all that stuff... If the user just sits there for 20 minutes doing nothing but checking and unchecking the check box, I cannot capture it. The CellEndEdit does not capture it. Neither does the CellValueChanged. Or the CurrentCellDirtyStateChanged. Or the CellClick.
Is there any way to capture the click even AS is it occurring? So I do not have to wait for the cell to lose focus?
How can I accses the checkbox itself? Is there a way to do that? To access a checkbox inside of a datagridview?
I appreciate all of your help in advance....