M
mscertified
I have a combo box and a listbox, an ADD button and a REMOVE button. When I
select an item in the combo box the add button must enable and when clicked
will move the selected item to the listbox, removing it from the combo box.
When I select an item in the listbox, the remove button must enable and when
clicked, move the selected item from the listbox to the combo box, removing
it from the listbox.
At all other times the buttons must be disabled. Both the combo box and the
listbox may be empty.
Can anyone tell me what events I need to trap to do this? I am going round
in circles trying to get it all to work correctly. The user wants to be able
to TAB around the controls as well as use the mouse so it must work both ways!
Thanks.
select an item in the combo box the add button must enable and when clicked
will move the selected item to the listbox, removing it from the combo box.
When I select an item in the listbox, the remove button must enable and when
clicked, move the selected item from the listbox to the combo box, removing
it from the listbox.
At all other times the buttons must be disabled. Both the combo box and the
listbox may be empty.
Can anyone tell me what events I need to trap to do this? I am going round
in circles trying to get it all to work correctly. The user wants to be able
to TAB around the controls as well as use the mouse so it must work both ways!
Thanks.