|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Button Click QuestionI 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 -- Have a great day! 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 -- Show quoteHide quoteProgramming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook) "Drew Leon" <drewl***@hotmail.com> schreef in bericht news:#HyigpgJGHA.2040@TK2MSFTNGP14.phx.gbl... > 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 > -- > > Have a great day! > Drew Leon > > Thank you, Peter.
Show quoteHide quote "Peter Proost" <pproost@nospam.hotmail.com> wrote in message news:uPTQUHlJGHA.208@tk2msftngp13.phx.gbl... > 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 > > -- > Programming today is a race between software engineers striving to build > bigger and better idiot-proof programs, and the Universe trying to produce > bigger and better idiots. So far, the Universe is winning. (Rich Cook) > > "Drew Leon" <drewl***@hotmail.com> schreef in bericht > news:#HyigpgJGHA.2040@TK2MSFTNGP14.phx.gbl... >> 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 >> -- >> >> Have a great day! >> Drew Leon >> >> > >
Application.Exit or End
VB2005 pro Graphics IsDate("ISomeTimesHateProgrammingMarch2005") = True Sending a message to another computer -how? Better way to go from ArrayList to Object() Convert from C# to VB.Net Simple (I hope) SteamReader DirectoryInfo question lost user control Unable to cast object of type 'System.Data.DataSet' to Typed DataSet Get distinct values from a column in a datatable |
|||||||||||||||||||||||