PDA

Click to See Complete Forum and Search --> : MDI form


Nazadus
Dec 29th, 1999, 06:09 AM
How do i detect the active form in MDI?

Clunietp
Dec 29th, 1999, 09:45 AM
Add this code somewhere in an event of your MDI parent


Dim frm As Form

Set frm = Me.ActiveForm

MsgBox frm.Name

Nazadus
Dec 29th, 1999, 10:45 AM
Yes it worked, but not they way I need,
frmMain = MDI FORM
frmdocument = the multiple docemnt i call upon multiple times

I need to know the name of the active docemnt, not the form......Thanks though

Nazadus
Dec 29th, 1999, 10:47 AM
Yes it worked, but not they way I need,
frmMain = MDI FORM
frmdocument = the multiple docemnt i call upon multiple times

I need to know the name of the active docemnt, not the form......Thanks though