On a form that displays, let's say, "customer" details a combobox is used to let the user choose gender. Once a gender is chosen, an image shows either a male icon or a female icon. The form has a table as a record source.
If a user changes the gender but doesn't leave the combobox but presses the Escape key to cancel the update, the combobox naturally shows the old value. But the image isn't changed, so it now shows the incorrect icon.
Can this problem be solved by simply calling the undo event from within the undo event itself?
If a user changes the gender but doesn't leave the combobox but presses the Escape key to cancel the update, the combobox naturally shows the old value. But the image isn't changed, so it now shows the incorrect icon.
Can this problem be solved by simply calling the undo event from within the undo event itself?