Listbox help!

  • Thread starter Thread starter RBCC
  • Start date Start date
R

RBCC

I have 2 databound lstboxes, one called Origin and one destination milage,
when the user selects one piece of data from the origin milage listbox the
rest will be grayed and the value of the origin milage will be saved in a
variable called mileage out and the listbox other listbox will be
selectable, when the user selects it the rest will be grayed out and its
value will be saved. how do I do this with selectedindex?
John
 
Hi RBCC
I have 2 databound lstboxes, one called Origin and one destination milage,
when the user selects one piece of data from the origin milage listbox the
rest will be grayed and the value of the origin milage will be saved in a
variable called mileage out and the listbox other listbox will be
selectable, when the user selects it the rest will be grayed out and its
value will be saved. how do I do this with selectedindex?
John

A lot of information how to use that.

http://msdn.microsoft.com/library/d.../frlrfsystemwindowsformslistboxclasstopic.asp

I hope this helps?

Cor
 

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