Board index » cppbuilder » To catch an event from the Check of a TListView

To catch an event from the Check of a TListView


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
 
 

Re:To catch an event from the Check of a TListView

"Stephane Wirtel" < XXXX@XXXXX.COM >wrote in message
Quote
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