ListView.ItemCheck event
-
Hello, I have a tab control and on one of the tabs I have the ListView control that has the ItemCheck event. When application starts, the tab that contains the ListView does not have focus. But if I select that tab, the ItemCheck event fires all the time, but only the first time I select the tab. If I start switching the tabs the event does not fire anymore. What's going on? How can I suppress that event firing for the first time? Thank you.
-
Hello, I have a tab control and on one of the tabs I have the ListView control that has the ItemCheck event. When application starts, the tab that contains the ListView does not have focus. But if I select that tab, the ItemCheck event fires all the time, but only the first time I select the tab. If I start switching the tabs the event does not fire anymore. What's going on? How can I suppress that event firing for the first time? Thank you.
According to MSDN, "the
ItemCheck
event occurs when the check state of an item changes or when theCheckBoxes
property is set to true". Perhaps the first instance of the event occurs when you set the list view'sCheckBoxes
property? /raviThis is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com