Passing messages between tabpages in a tab control in a form

S

sabarad_arun

Hi,

I have a tab control in a form with 3 tabpages.i have a button in the
form which closes the form.I want to know how can i send a message to
each of the tabpages that the form is going to be closed so that the
tabpages update the data.
Please anyone can help me on this.

Thanks,
Arun
 
S

sabarad_arun

I think i have a answer but want to confirm.I declare a delegate.i add
the handler function to each and every tabpage.In the close event of
the form i call this delegate,so that the event handler for each
tabpage gets called.Can i do like this
 
Top