Solved

Vb.Net CheclistBox Current index

Posted on 2014-02-12
2
300 Views
Last Modified: 2014-02-12
In a CheckListBox with some options like the following:

* Car
* Moto
* Boat
* Bike
In this example first item as index=0 and bike as index=3 (i don´t know if index is the correct way to say). How canget when click in each item the value of index.
0
Comment
Question by:rflorencio
2 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39853625
SelectedIndices is the property that will give you indices of all the selected items

http://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.selectedindices(v=vs.110).aspx
0
 

Author Closing Comment

by:rflorencio
ID: 39853978
Was not exactly what I wanted, however the example gave me an idea to solve the problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

895 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

14 Experts available now in Live!

Get 1:1 Help Now