mdi children

G

Guest

I have a MDI application with one of the children open. Then the user clicks
on a menu item on the mdi form. The child that is active/open has a
tabcontrol on it. When the code is finished executing in the menu selection
I want to execute the click event of the tabconrol on the active child. I
have tried the following to try to get the frmName.actived event to fire so I
can force the click event but have not had any success.
frmName.Show()
frmName.Activate()
frmName.Refresh()
frmName.Update()
frmName.Select()
Me.ActivateMdiChild(frmfrmName)

Does anybody know how I can accomplish this task?

Thanks.....
 
C

Cor Ligthert

Droope,

Go to this using the mdichildren from the parent.

me.parent.mdichildren........... and than it is depending if you have C# or
VBNet

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top