I have two forms, form1 and form2. form2 is on top of form1. I click a button on form2 which firstly displays a MsgBox with Yes/No option to continue.
Problem is, when I click the button, form1 jumps on top of form2, then the message box is displayed. When I click either button on the MsgBox, it disappears (as expected) and form2 jumps back on to of form1.
It's as if the MsgBox is somehow tied to form1. There is no code to show/hide any form, just seems to be doing it by itself.
Any suggestions?
Problem is, when I click the button, form1 jumps on top of form2, then the message box is displayed. When I click either button on the MsgBox, it disappears (as expected) and form2 jumps back on to of form1.
It's as if the MsgBox is somehow tied to form1. There is no code to show/hide any form, just seems to be doing it by itself.
Any suggestions?