Multiple form paths don't return correctly

John H.

Member
Joined
Mar 31, 2008
Messages
14
Programming Experience
Beginner
I have FormA, FormB, and FormC. FormA has a button that takes me to FormB, and FormB has a button that takes me to FormC. When I end FormC (me.hide), I would like it to show FormB, and when I end FormB, I would like it to show FormA.
This works fine unless I am at FormC and decide to go somewhere else (Word, for example) and come back to FormC. When I end (me.Hide) FormC, I get the Word screen instead of FormB. I have tried ending FormC with "FormB.show" before "me.hide", but it still doesn't work. Any suggestions? TIA
 
Control.BringToFront is a method for manipulating z-order of controls, Form.Activate method should do it.
 
Back
Top