• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 10016
  • Last Modified:

Listbox with '1-checkbox' option... vb6

List1.ListIndex = -1     '<-- takes away the highlight from current selection (leaving its checked unchecked)
List1.<I need code to uncheck the selection as well>    '<-- there will be one selection

List1.Selected(2) = True   '<-- works fine, highlights and checks its checkbox

Question:  How can I get rid of the check for the old item.

Mike Eghtebas
Mike Eghtebas
1 Solution
List1.Selected(index) = False

Will uncheck the old item, when you provide the correct index
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now