|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Can't Figure Out How to Calculate Using TabsI 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 You should be able to address each listbox directly by name without doing
anything special. Unless of course, you have tabpages on more than one form. Dim x As Integer x = ListBox1.Items.Item(1) + ListBox2.Items.Item(1) textbox1.Text = x As I said, it should be fairly straightforward, even if your listboxes are on different Tabpages. james Show quoteHide quote "Drew Leon" <drewl***@hotmail.com> wrote in message news:uJ1hSesJGHA.2912@tk2msftngp13.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 >
Const Member in Base Class to be overridden in Derived Class?
Sync databound combobox to current bound record in form Installing VB.NET 2003 Clearing a TextBox ComboBox design-time DataBinding setting questions. Whats this vbScript eval() function equivalent in VB.Net - Dynamically evaluate code Rounded form corners and a custom title bar how to: remove unequal white spaces with trim method Share datasource among programs |
|||||||||||||||||||||||