A
Amanda
User is going to be transferring items out of combobox to listbox and
vice versa keeping ascending and desending order respectively at all
time.
If user selects the last item in combobox, the program is supposed to
display a message box stating that there is no more item in the
combobox with OK button to be clicked as the only option and upon
clicking OK, the program should terminate, i.e the program should check
to ensure that the ComboBox contains at least one item.
What property or method should I use to check that the user has
selected the last item left in combo box? Or should I just keep track
of the count of items and when the last one is selected, display the
message and terminate the program?
vice versa keeping ascending and desending order respectively at all
time.
If user selects the last item in combobox, the program is supposed to
display a message box stating that there is no more item in the
combobox with OK button to be clicked as the only option and upon
clicking OK, the program should terminate, i.e the program should check
to ensure that the ComboBox contains at least one item.
What property or method should I use to check that the user has
selected the last item left in combo box? Or should I just keep track
of the count of items and when the last one is selected, display the
message and terminate the program?