What widgetset? I tested on Qt and GTk2 and:
OnClick is fired when any part of the Control is clicked.
OnClickCheck is fired when the check box is clicked.
OnItemClick is also fired when the check box is clicked - duplicate of OnClickCheck.
If I click the check region all three are fired but with different order on Qt and GTk2.
Only OnClick is fired when I click text.
OnDblClick is fired as expected in whole area (checkbox, text or the rest).
Thanks for the quick reply Blaazen
1) Widget set is Win32. The application is Win64, Laz 1.8.3
2) DoubleClick : This is odd. I put a ShowMessage() in each of the handlers to show when it is called. With those ShowMessage lines
disabled, I see the dblClick being fired as you say. But when ShowMessage lines are
enabled, there is no message coming from the dblClick handler. I do see the ShowMessage dialog window flash oddly under these conditions (and the windows sounds is heard), but no dblClick ShowMessage. Weird, but I presume OK once we get past diagnostics
3) Confirmed that all three events are fired when the checkbox region is clicked.4) Confirmed that ItemCheck is called when the check region is clicked
Would you expect that ItemClicked should be fired when the
text is clicked? If not, it seems redundant : what is it for?Cheers!pr