How to fire event of a TActiveForm ?

N

Naskar

How to fire event of a TActiveForm ?

// -------------- FormTeste01Impl1.cpp

#include "FormTeste01Impl1.h"

.... Others Events ...

// Method of TEvents_.....Impl
void __fastcall TFormTeste01Impl::paintEvent(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");

}

//-------------------------------------------------------------------------­--
 
V

Victor Bazarov

Naskar said:
How to fire event of a TActiveForm ?

// -------------- FormTeste01Impl1.cpp

#include "FormTeste01Impl1.h"

... Others Events ...

// Method of TEvents_.....Impl
void __fastcall TFormTeste01Impl::paintEvent(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");

}

//-------------------------------------------------------------------------­--

I'm afraid you're in a wrong newsgroup. While the code you posted looks
like C++ (with some assumptions), your question has really nothing to do
with C++ and everything to do with what most likely is the framework you
are using. The leading "T" in the names of classes suggests that you're
in the Borland land. Try 'borland.public.*' hierarchy of newsgroups.

V
 
D

Dennis Jones

are using. The leading "T" in the names of classes suggests that you're
in the Borland land. Try 'borland.public.*' hierarchy of newsgroups.

It is most definitely C++Builder code. I would recommend the following
group:

borland.public.cppbuilder.vcl.components.using

- Dennis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top