Solved

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

Posted on 2004-09-26
1
9,944 Views
Last Modified: 2012-08-13
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.

Thanks.
0
Comment
Question by:Mike Eghtebas
1 Comment
 
LVL 11

Accepted Solution

by:
bingie earned 250 total points
ID: 12155877
List1.Selected(index) = False

Will uncheck the old item, when you provide the correct index
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now