perform a click on child button
I have a question pertraining with pressing a button inside a child form.
I am writing some code in the parent form, and I need to press the button inside of the child form. how co I do this. I have tried the following code but it seems to not work
thekid1.button1.performClick
can someone please help, thanks
Re: perform a click on child button
Quote:
Originally Posted by Srig007
thekid1.button1.performClick
performClick? :confused:
Re: perform a click on child button
One way is to change scope of button_click from Private to Public (manually) so you can call it like this:
Form2.Command1_Click