use code to "click" a button

  • Thread starter Thread starter Cheung
  • Start date Start date
C

Cheung

Guest
I have a Base form which has a button on it.
I have a child form which inherits Base form.

When the child form is loaded, I want the code of sub "button_click" of both forms run. What can I do?? Is there any code that "clicks" the button for me?

Thanks a million!
 
sorry for asking the question before checking help page.

the code is button.perform_click()

Thanks!
 
Back
Top