BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Event notification

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
Martin Venter
Guest





PostPosted: Mon Nov 03, 2003 8:42 am    Post subject: Event notification Reply with 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
Robert Cerny
Guest





PostPosted: Mon Nov 03, 2003 11:03 am    Post subject: Re: Event notification Reply with quote



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





PostPosted: Mon Nov 03, 2003 1:39 pm    Post subject: Re: Event notification Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.