Tab Pages

  • Thread starter Thread starter amir
  • Start date Start date
A

amir

Hello all,
I have a little problem.
I have created a form and on it a tabControl.
to the tab control i am adding pages dynamically with a class of my
own which is called myTabPage which contains a TabPage with my own
setups (textboxs and so on...) now i want when a tab is selected and
then a save button is pressed to retrieve the new data from the tab so
i can save it. For some reason i dont know how to catch my tab... not
with this.
dont know how to reach the page.
i know to catch the selectedTab but it sends me a tab page which does
not contain the fields that are in my tabPage.
thnx,
amir.
 
Amir,

If you are not looking to save the information on the selected tab page,
then which tab page are you looking to save the information for?
 
Amir,

If you are not looking to save the information on the selected tab page,
then which tab page are you looking to save the information for?

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)




Hello all,
I have a little problem.
I have created a form and on it a tabControl.
to the tab control i am adding pages dynamically with a class of my
own which is called myTabPage which contains a TabPage with my own
setups (textboxs and so on...) now i want when a tab is selected and
then a save button is pressed to retrieve the new data from the tab so
i can save it. For some reason i dont know how to catch my tab... not
with this.
dont know how to reach the page.
i know to catch the selectedTab but it sends me a tab page which does
not contain the fields that are in my tabPage.
thnx,
amir.- Hide quoted text -

- Show quoted text -

I am looking for saving the information on the tab pages.
 

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

Back
Top