By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,578 Members | 1,786 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,578 IT Pros & Developers. It's quick & easy.

Open form and run event/sub

P: n/a
How can I open a MDI childform from it's parent form and then programmically
run an event or procedure from the childform. ie. run the click event code
of the child form's command button.
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi create a public sub on the child form with the code you want to see
executed, and then do something like this where you want to call the child
form (for example menu click on parent form)

dim objChild as new YourchildForm
objChild.MdiParent = me
objChild.Show
objChild.YourPublicSub

Hth peter
"JAG711" <JA****@discussions.microsoft.com> schreef in bericht
news:50**********************************@microsof t.com...
How can I open a MDI childform from it's parent form and then programmically run an event or procedure from the childform. ie. run the click event code of the child form's command button.

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.