I have a listbox which the items are linked to values stored in the registry. Is there anyway I can change the textbox's text depending on which item is selected in the listbox. I'll do my best on an example:


...............Item 1 Selected - Textbox text is 1
List Box - Item 2 Selected - Textbox text is 2
...............Item 3 Selected - Textbox text is 3