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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top