Button Click Question

  • Thread starter Thread starter Drew Leon
  • Start date Start date
D

Drew Leon

I have a Tab Control on a form. Each one of the tabs have two populated List
Boxes on them. I have a Button on the form which I would like to use to
calculate the various math problems in the Tabs. I would rather not have to
a button on each tab to calculate the math problems. Any assistance would be
greatly appreciated. Thank you, Drew Leon
 
Hi,

put the button below the tabcontrol and then when you click the button check
which tabpage is selected ( TabControl1.SelectedIndex or
TabControl1.SelectedTab.Name ) and do the math for that tabpage.

Hope this helps

Greetz, Peter
 
Thank you, Peter.


Peter Proost said:
Hi,

put the button below the tabcontrol and then when you click the button
check
which tabpage is selected ( TabControl1.SelectedIndex or
TabControl1.SelectedTab.Name ) and do the math for that tabpage.

Hope this helps

Greetz, Peter
 

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