473,408 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

How to fire event of a TActiveForm ?

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");

}

//-------------------------------------------------------------------------*--

Jul 26 '07 #1
2 1659
Naskar wrote:
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
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jul 26 '07 #2

"Victor Bazarov" <v.********@comAcast.netwrote in message
news:f8**********@news.datemas.de...
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
Jul 26 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kevin Ly | last post by:
Consider the test case below. The onmouseout event does NOT fire when my mouse/cusor is moved off the left side of the browser. It does if it is moved off the top, bottom, and the right side that...
9
by: HJ | last post by:
Hi all, I notice that the Form_Dirty event does not fire in Access 2002 (SP-1) when the first character is typed into a new record. In previous versions of Access it does fire. For existing...
5
by: Carlo Marchesoni | last post by:
From an aspx page (A.aspx) I open another one (B.aspx - for table lookup). When the user selects an entry in B.aspx I would like to force a button's event in A.aspx to be fired. I guess the only...
2
by: Sam Miller | last post by:
Hi, I have a button event that won't fire. I left it on Friday and it worked fine. I came back in on Monday and it won't fire. I tried putting another button and just putting a...
2
by: Ofer | last post by:
I finally learned that DataGrid1.EditItemIndex = {row I want} -1 DataGrid1.DataBind() will make that row get to edit mode. I am stiil looking for ways to programticaly do other things: 1) show...
6
by: Shimon Sim | last post by:
I have Panel control on the page. I am handling Init event for it. It doesn't seem to fire at all. Why? Thank you Shimon.
5
by: Verde | last post by:
This is admittedly an apparently odd request... but please indulge me if you don't mind: Suppose I have two <asp:Button.../> on a page (Button1 and Button2). User clicks Button1 and triggers a...
4
by: Ty Salistean | last post by:
So, here is a wierd question that we have been discussing for a bit now. Does an event fire even though nothing is subscribed to listen to the event? For instance, does the Click event of a...
19
by: Daniela Roman | last post by:
Hello, I try to fire an event under a button click event and maybe anybody can give a clue please. I have let's say a WEB grid with PageIndexChanged event: private void...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.