S
samoore33
I am working with a program that utilized the checkbox property of a
listview. When a user clicked on the checkbox, it was suppose to
calculate and total some prices. I did not make any changes to the
listview, but now the method does not work when the checkbox is
clicked.
In trying to fix this problem, it would seem that when I click on the
checkbox it calls the itemcheck event. In the itemcheck event I check
to see if the state of the checkbox is True or False. I believe that it
only reads the checkbox as being checked, not as being populated with a
checkmark.
When I step through the method, after clicking a checkbox, it still
shows it false. If I click it again and step through the method it
shows it as true. Also if there is more then one item in the listview,
If one of the items is clicked, it shows the state of the checkbox as
false. If both of the items are clicked then it shows the state of the
checkbox as true.
If anyone has run into the problem before, I would appreciate any help.
If have not been clear enough with my problem, please let me know.
Appreciate any help.
Scott Moore
listview. When a user clicked on the checkbox, it was suppose to
calculate and total some prices. I did not make any changes to the
listview, but now the method does not work when the checkbox is
clicked.
In trying to fix this problem, it would seem that when I click on the
checkbox it calls the itemcheck event. In the itemcheck event I check
to see if the state of the checkbox is True or False. I believe that it
only reads the checkbox as being checked, not as being populated with a
checkmark.
When I step through the method, after clicking a checkbox, it still
shows it false. If I click it again and step through the method it
shows it as true. Also if there is more then one item in the listview,
If one of the items is clicked, it shows the state of the checkbox as
false. If both of the items are clicked then it shows the state of the
checkbox as true.
If anyone has run into the problem before, I would appreciate any help.
If have not been clear enough with my problem, please let me know.
Appreciate any help.
Scott Moore