Only one MDI from allowed

I have an MDI application, and when I try to reference objects through the MDI Parent (i.e. frmMain.ActiveForm.Caption = "Test"), or try to call public functions declared in the MDI from (i.e. Call frmMDI.Test_Func), I get the error message "Only one MDI from allowed".  Where am I going wrong?
LVL 3
jjmartinAsked:
Who is Participating?
 
MAVERICKConnect With a Mentor Commented:
try Screen.activeForm.caption = "test"

As for the other problem with the declared functions... put them in a module and call them from there... simpler


0
 
jjmartinAuthor Commented:
Thanks for the help.  I didn't know about the Screen object.  I orignally had all the functions in a module, but then they weren't operating on the dynamic MDI Child forms, so I moved them to the form, and I couldn't call a function.  Anyway, thanks for the help. I got everything straightened out.
0
 
MAVERICKCommented:
No problem

0
 
kraphicsCommented:
I get the same error, but it is when I attempt to call the MDI's sub mnuWindowTileHorizontal_Click

is there any help ?
0
 
MAVERICKCommented:
I have been designing web pages for the last 2 years .. might be better to ask as a new question...

sorry i can't be more helpful

Maverick
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.