when clicking on search command button i get a message whether the item in the list is found or no.I was able to create a label with the message but when clicking on search the message keep saying ';the item is not found'; unless i select the item.How can i select all the items on the list to be recognised by the search command?I created a listbox on visual basic with additem,remove,clear commands;amd now i want to create search command
Add a button that will select all in the listbox.
Something to this effect:
Private Sub Label4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblNewSelectAll.Click
Dim iCnt As Integer
For iCnt = 0 To Me.cblNewClaims.Items.Count - 1
Me.cblNewClaims.SetItemChecked(iCnt, True)
Next
End Sub
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment