 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Martin Venter Guest
|
Posted: Mon Nov 03, 2003 8:42 am Post subject: Event notification |
|
|
Hi,
Hope someone can help me.
I've created a custom control consisting of a panel as my container which
holds a button, textbox and a memo.
There can be any number of these controls on the form.
The user can delete the control from a popup menu when he right clicks on
the control.
When the control gets deleted I would like to notify all the other controls
that this control was deleted.
Any help would be apprecaited.
Regards,
Martin
|
|
| Back to top |
|
 |
Robert Cerny Guest
|
Posted: Mon Nov 03, 2003 11:03 am Post subject: Re: Event notification |
|
|
VCL already does this. Read help on "notification" method.
--
Robert Cerny
DelphiShaman
"Martin Venter" <martin (AT) unirnd (DOT) co.za> wrote
| Quote: | Hi,
Hope someone can help me.
I've created a custom control consisting of a panel as my container which
holds a button, textbox and a memo.
There can be any number of these controls on the form.
The user can delete the control from a popup menu when he right clicks on
the control.
When the control gets deleted I would like to notify all the other
controls
that this control was deleted.
Any help would be apprecaited.
Regards,
Martin
|
|
|
| Back to top |
|
 |
Martin Venter Guest
|
Posted: Mon Nov 03, 2003 1:39 pm Post subject: Re: Event notification |
|
|
Hi Robert,
Thanks for showing me the light. The whole time I have been looking at
TComponent.Notification instead of TControl.Notification.
Regards,
Martin
"Robert Cerny" <robert.qwe.cerny (AT) neosys (DOT) xrs.qwe.si> wrote
| Quote: | VCL already does this. Read help on "notification" method.
--
Robert Cerny
DelphiShaman
"Martin Venter" <martin (AT) unirnd (DOT) co.za> wrote in message
news:3fa6130a (AT) newsgroups (DOT) borland.com...
Hi,
Hope someone can help me.
I've created a custom control consisting of a panel as my container
which
holds a button, textbox and a memo.
There can be any number of these controls on the form.
The user can delete the control from a popup menu when he right clicks
on
the control.
When the control gets deleted I would like to notify all the other
controls
that this control was deleted.
Any help would be apprecaited.
Regards,
Martin
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|