I have multapil forms open, and I want to know if there is a way to find out what mid child has focus? So I can use it for saveing.
Printable View
I have multapil forms open, and I want to know if there is a way to find out what mid child has focus? So I can use it for saveing.
Is this what you want?
Code:Private Sub Command1_Click()
MsgBox MDIForm1.ActiveForm.Caption & "|" & MDIForm1.ActiveForm.hWnd
'reutrns caption|hwnd
End Sub