Retaining focus on a textbox / listbox item pair after validation = false.
It looks to me like you should add an "Update" button for the user to click
after they have selected an item in the list, then entered the conversion
rate in the text box. This could be the default button. When the user
presses the return key, validation would be performed, and focus returned to
the text box for editing, if necessary.
Otherwise, if the user simply selects another list item, Excel doesn't know
whether to apply the conversion rate to the previously selected list item.
Maybe nothing should be done, because the user simply selected the wrong
item in the list box.
Good form design usually means that the Cancel button also exits from the
form, just like the OK button, but any changes are cancelled (undone). If
the user selects an item in the list box, enters a conversion rate in the
text box, and then decides to hit the Cancel button, what should happen?
Should all previous changes/entries be undone?
--
Regards,
Bill
|