When I go to show one form on top of the other.
[code]
frmLogin.Show
[/code
Then how can I make that form pop on top of the originating form (frmMain in this case) when I don't want to hide frmMain?
Printable View
When I go to show one form on top of the other.
[code]
frmLogin.Show
[/code
Then how can I make that form pop on top of the originating form (frmMain in this case) when I don't want to hide frmMain?
There have been a number of questions asked about how to keep a form on top (do a search), but one easy thing you can do is frmLogin.Show vbModal.
You can also use:Code:FormCalled.Show
FormCalled.ZOrder
'the API way is here
http://www.vbapi.com/ref/s/setwindowpos.html
or
Form2.Show VbModal