I have a listbox with cells, having the property Listbox.TypeCheckbox.
When the user clicks on such a cell, the CheckedStates - property is changing.
What can I do to make this impossible ?
One way is to not use a checkbox at all. Instead, use CellTextPaint to paint a checkmark when the item is checked. It will make a nicer interface too.
Otherwise, you might be able to trap the cell click, I’m not sure.
Return True in the CellClick event of the Listbox.
Thanks Eli ! It works just fine !
Kem, thanks to you too !