Link to home
Start Free TrialLog in
Avatar of rmmarsh
rmmarshFlag for United States of America

asked on

one listbox controls population of another listbox

I apologize in advance if this has already been asked, but I couldn't find a solution.

I have two listboxes.  When I click on listbox1, it controls what is placed in listbox2.  I then want to select something from listbox2 and put both selections in two textboxes.

My problem is when I select from listbox1, it populates listbox2 and then listbox2, thinking it's index has been changed (it has, just not manually) populates the two textboxes. The index on listbox2 is set to 0, but that is a valid selection.

How can I tell if the listbox2 item has been manually selected or is just being populated?
ASKER CERTIFIED SOLUTION
Avatar of e1v
e1v

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rmmarsh

ASKER

Thank you, that did it...