I am using VB6 for maintenance of this program and have an odd behavior thet
I can't seem to get a handle on.
I have a routine in the LostFocus event for a combobox which will verify
that the value has changed from the original. If a change is noted it will
produce a msgbox asking for verification. If a change is made and a textbox
or some other control on the form is clicked the msgbox displays, accepts the
response, and moves focus to the item clicked.
If you click on a button or menu item the lostfocus event still fires (as I
don't believe it should) but it puts focus back on the combobox instead of
continuing on with the clicked button or menu item.
I have nothing in the lostfocus event which is setting the focus back to the
original control. Is there a setting that I am missing or something like
that?