Sudesh
2007-10-09 13:02:28 UTC
I have 2 applications having single Form each, with many components with
events.
I wish to combine both i.e. bring components from 2nd applications MainForm
to the 1st applications MainForm.
I can copy components
-- on the Form, I copy button foo.
and copy event's code
-- in header file I copy the following
void __fastcall fooClick(TObject *Sender);
-- in cpp unit file I copy the following
void __fastcall TForm1::fooClick(TObject *Sender)
{
// code ....
}
Now how do I generate reference to this OnClick() event of button foo?
(Which we normally do by doubleclicking OnClick event in the Object
Inspector)
Hope I am able to explain what I wish to do.
Thanks,
Sudesh
events.
I wish to combine both i.e. bring components from 2nd applications MainForm
to the 1st applications MainForm.
I can copy components
-- on the Form, I copy button foo.
and copy event's code
-- in header file I copy the following
void __fastcall fooClick(TObject *Sender);
-- in cpp unit file I copy the following
void __fastcall TForm1::fooClick(TObject *Sender)
{
// code ....
}
Now how do I generate reference to this OnClick() event of button foo?
(Which we normally do by doubleclicking OnClick event in the Object
Inspector)
Hope I am able to explain what I wish to do.
Thanks,
Sudesh