Show/Hide form issues

narim2

New member
Joined
Mar 6, 2008
Messages
1
Programming Experience
1-3
Language: Visual basic 9.0, Visual Studio 2008

Simple code to generate and show a customised frmPage2 and hide home page:

btnNav1
.....code......
Me.Hide()
frmPage2.Show()



Simple code to hide the custom page and return to the home page:

btnNav2
Me.Hide()
frmPage1.Show()


Result: when navigating back to the homepage the code executes correctly by hiding page2 and re-opening home page but the homepage is minimised when it returns. Note if i try the same process again
in the same session it works correctly. Any thoughts?
 
Back
Top