Visual Basic 2005 CheckedListBox control question
Posted on 2010-09-04
The below code is In the Click sub of a CheckedListBox, the code checks and unchecks a single row inside a checkedListBox with a single click. EXCEPT FOR if the end user clicks and then re clicks on the same row. The control will not respond to the 2nd single click without clicking on another row inbetween single clicks. The name of the control is ChkProviders. There appears to be some sort of refresh needed inbetween each change?
Dim chkstate As CheckState
chkstate = ChkProviders.GetItemCheckState(ChkProviders.SelectedIndex)
If chkstate = CheckState.Checked Then