G
Guest
Hello,
I am trying to use the toolbar to open up different forms; however, I
am wanting to open form2 within form1. This is similar to MS Word when
creating a new document. You have the main Word window then you are able to
create new documents within the main Word window. With your new docs you are
able minimize, maximize the doc itself without closing the main Word window.
I can get form2 to open using:
Dim frmAddAsset As New frmAddAsset
If e.Button.ImageIndex = 5 Then
MsgBox("Thanks for using my program")
Me.Close()
Else
If e.Button.ImageIndex = 0 Then
frmAddAsset.ShowDialog(Me)
End If
End If
But, I want the new form2 to open within form1
Please letme know,
Leo
I am trying to use the toolbar to open up different forms; however, I
am wanting to open form2 within form1. This is similar to MS Word when
creating a new document. You have the main Word window then you are able to
create new documents within the main Word window. With your new docs you are
able minimize, maximize the doc itself without closing the main Word window.
I can get form2 to open using:
Dim frmAddAsset As New frmAddAsset
If e.Button.ImageIndex = 5 Then
MsgBox("Thanks for using my program")
Me.Close()
Else
If e.Button.ImageIndex = 0 Then
frmAddAsset.ShowDialog(Me)
End If
End If
But, I want the new form2 to open within form1
Please letme know,
Leo