Or, if you want to call it from the event property value:
Code:
TForm1::Button2Click(TObject *SEnder)
{
if (this->Button1->OnClick)
this->Button1->OnClick(Sender); // Calls Button1's OnClick Event through it's event property if it is assigned
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.