|
Write off a 1
Repost
If your control form is A_form
Your accused form is B_form
Write in the charged form
Dim formtemp1 As A_Form
Public Function Instance (ByVal frm As A_Form)
formtemp1 = frm ’Wrong one in this sentence 1
End Function
Write in the control form
Dim tempfrm As New B_Form
tempfrm.Instance (Me)
tempfrm.close ‘This sentence closes the controlled window
Similarly, you can do other things. If assigned, update something. |
|