I want to use a checkbox control to enter boolean selection in a database. I can do this, but there are a few issues that only occur when the checkbox control is bound to a datasource.
1) The checkbox appears grayed with a check, even when the value should evaluate to unchecked. When a checkmark is then indicated, the checkbox has a white background and the check is clearer.
The grayed appearance is undesirable and misleading
2) This happens only when the checkbox is bound to a datasource: If there is code in the checkbox click event (e.g. to evaluate whether the checkbox = vbchecked) the code will execute after the form initialize event and before the form load event. This can cause big problems, because I only want the code toexecute when the checkbox is checked.
Does anyone know ways to work around these problems?