2nd form opens behind switchboard

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a switchboard which operates normally when any item is selected. If I
select Item 3 which opens Form2 it works great.

However, I want to open the switchboard normally and then AUTOMATICALLY open
Form2 so that the user saves a key stroke (yes I know this is stupid). What
I am doing is within the swithcboard Form_Open I have this piece of code:
If nUserType = 3 Then
HandleFocus (3)
HandleButtonClick (3)
End If
This Opens Form2 but it ends up behind the switchboard and doesn't have
Focus. I have tried Me.SetFocus inside Form2.Form_open but it doesn't do
anything.

Also, I cannot hide te switchboard because as soon as Form2 is closed I want
the switchboard to be there underneath.

Any ideas? Thanks,
 
Back
Top