K
KamiiKoneko
Specifically,
My CheckedListBox control can behave in one of two ways as far as I
can tell. #1, I set the "CheckOnClick" property, and whenever I click
a checkbox OR its label, the box is checked. OR #2 I can clear the
"CheckOnClick" property and then regardless of whether I click the
label or the checkbox, it gains focus but no action is taken until a
second click.
In Windows Explorer, when I bring up Choose Details to determine
which columns are shown in an explorer window, their CheckedListBox
behaves differently. If I click on the checkbox, focus is not given
but the checkbox checks/unchecks. If I click on the label, focus is
given but the checkbox is not checked/unchecked.
Why is there a difference, and is there a way to achieve this same
behavior in my application?
Thank you
Koneko
My CheckedListBox control can behave in one of two ways as far as I
can tell. #1, I set the "CheckOnClick" property, and whenever I click
a checkbox OR its label, the box is checked. OR #2 I can clear the
"CheckOnClick" property and then regardless of whether I click the
label or the checkbox, it gains focus but no action is taken until a
second click.
In Windows Explorer, when I bring up Choose Details to determine
which columns are shown in an explorer window, their CheckedListBox
behaves differently. If I click on the checkbox, focus is not given
but the checkbox checks/unchecks. If I click on the label, focus is
given but the checkbox is not checked/unchecked.
Why is there a difference, and is there a way to achieve this same
behavior in my application?
Thank you
Koneko