Board index » cppbuilder » events to the Parent

events to the Parent


2005-07-15 06:18:27 PM
cppbuilder77
Sometimes it looks like Controls
"send" the event to the Parent where
i don't set value for Event-Properties.
Is it a general rule or i mistake to believe that?
Thanks for comments.
 
 

Re:events to the Parent

"mauro russo" < XXXX@XXXXX.COM >wrote in message
Quote
Sometimes it looks like Controls
"send" the event to the Parent where
i don't set value for Event-Properties.
What do you mean? Please elaborate.
Gambit
 

Re:events to the Parent

example :
TControl *C = new ...
C->Parent = P;
I don't set C->OnSomeEvent.
Will it happend that the Event is handled by P or not?
Or does it depende by type of event?
Thanks.
"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >ha scritto nel messaggio
Quote

"mauro russo" < XXXX@XXXXX.COM >wrote in message
news: XXXX@XXXXX.COM ...

>Sometimes it looks like Controls
>"send" the event to the Parent where
>i don't set value for Event-Properties.

What do you mean? Please elaborate.


Gambit


 

{smallsort}

Re:events to the Parent

"mauro russo" < XXXX@XXXXX.COM >wrote in message
Quote
TControl *C = new ...
C->Parent = P;

I don't set C->OnSomeEvent.
Will it happend that the Event is handled by P or not?
Usually not, but it does depend on the specific event you are interested in.
Gambit
 

Re:events to the Parent

Ok, thanks.