ButtonClick method.

  • Thread starter Thread starter Przemek
  • Start date Start date
P

Przemek

Hi.
How can I raise button method with no pushing that button manualy.
I would like to do something like that:
button1->click().
Just want to execute button event function.
Good Day, havy nice work (going fast). Thanks.
 
* "=?Utf-8?B?SmFrb2IgQ2hyaXN0ZW5zZW4=?= said:
Call Button.PerformClick() which will raise the button Click event.

Notice that the button must be visible and enabled to make this work.
 
You can always inherit the Button class and then call the On* methods from
the inherited class. E.g. calling OnClick will fire the Click event.

Regards, Jakob.
 
Back
Top