How to get position of the selected cell of a listbox?

  • Thread starter Thread starter sara
  • Start date Start date
S

sara

When a user double clicks on a row in a list box,I want to get the position
of the selected row so i can use that position to dynamically make a text box
appear there so as to make it appear editable.Any thoughts?
 
sara said:
When a user double clicks on a row in a list box,I want to get the position
of the selected row so i can use that position to dynamically make a text box
appear there so as to make it appear editable.Any thoughts?


You can use the ListIndex property for that.

(it might not work correctly for a multiselect listbox)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top