2004-12-02 09:41:56 PM cppbuilder72
Hi all,
I have a TListView with the checkboxes attribute activated ( CheckBoxes
= true ).
I would like to know if there is a possibility to catch an event,
when I click the checkbox of a TListItem.
Regards,
Stephane Wirtel
Remy Lebeau (TeamB)
CBuilder Developer
2004-12-03 02:12:16 AM
Re:To catch an event from the Check of a TListView
I would like to know if there is a possibility to catch
an event, when I click the checkbox of a TListItem.
There is no event for that specific action. You will have to use the
OnMouse... events instead, calling the ListView's GetHistTestInfoAt()
method. If it returns htOnStateIcon then the user is clicking on a
checkbox.
Gambit