N
Naskar
How to fire event of a TActiveForm ?
// -------------- FormTeste01Impl1.cpp
#include "FormTeste01Impl1.h"
.... Others Events ...
// Method of TEvents_.....Impl
void __fastcall TFormTeste01Impl:aintEvent(TObject *Sender)
{
Fire_OnPaint();
}
// Method of TActiveForm
void __fastcall TFormTeste01::Button1Click(TObject *Sender)
{
// ???????????????
// Here, I want to fire the OnDonMyProcess,
// but of my form TFormTeste01, that extends of TActiveForm.
Fire_OnDoneMyProcess("Test");
}
//---------------------------------------------------------------------------
// -------------- FormTeste01Impl1.cpp
#include "FormTeste01Impl1.h"
.... Others Events ...
// Method of TEvents_.....Impl
void __fastcall TFormTeste01Impl:aintEvent(TObject *Sender)
{
Fire_OnPaint();
}
// Method of TActiveForm
void __fastcall TFormTeste01::Button1Click(TObject *Sender)
{
// ???????????????
// Here, I want to fire the OnDonMyProcess,
// but of my form TFormTeste01, that extends of TActiveForm.
Fire_OnDoneMyProcess("Test");
}
//---------------------------------------------------------------------------