|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Tab ControlHiya All
I have a tab Control with 5 tabs (index 0 - 4) I have disabled tabs 1-4 & just left 0 enabled. How do I click on something like a button on tab 0 which then brings tab1 into view/focused? Tabs 0-4 are all visible. The button on Tab 0 will enable the other tabs, but I also need it to select tab 1 I am using VB.NET 2003 TIA "Newbie Coder" <newbie_coder@pleasespamme.com> schrieb: Check out the control's 'SelectedIndex'/'SelectedTab' properties.> I have a tab Control with 5 tabs (index 0 - 4) > > I have disabled tabs 1-4 & just left 0 enabled. How do I click on > something > like a button on tab 0 which then brings tab1 into view/focused? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Herfried
Your suggestion doesn't work Thanks though Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:%23FHPMqvHHHA.816@TK2MSFTNGP06.phx.gbl... > "Newbie Coder" <newbie_coder@pleasespamme.com> schrieb: > > I have a tab Control with 5 tabs (index 0 - 4) > > > > I have disabled tabs 1-4 & just left 0 enabled. How do I click on > > something > > like a button on tab 0 which then brings tab1 into view/focused? > > Check out the control's 'SelectedIndex'/'SelectedTab' properties. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> > How did you try to implement Herfried's suggestion?
....to select the TabPage at Index 1 assuming your TabControl is named TabControl1: TabControl1.SelectedIndex = 1 Show quoteHide quote "Newbie Coder" <newbie_coder@pleasespamme.com> wrote in message news:eAQ5F13HHHA.2632@TK2MSFTNGP06.phx.gbl... > Herfried > > Your suggestion doesn't work > > Thanks though > > "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message > news:%23FHPMqvHHHA.816@TK2MSFTNGP06.phx.gbl... >> "Newbie Coder" <newbie_coder@pleasespamme.com> schrieb: >> > I have a tab Control with 5 tabs (index 0 - 4) >> > >> > I have disabled tabs 1-4 & just left 0 enabled. How do I click on >> > something >> > like a button on tab 0 which then brings tab1 into view/focused? >> >> Check out the control's 'SelectedIndex'/'SelectedTab' properties. >> >> -- >> M S Herfried K. Wagner >> M V P <URL:http://dotnet.mvps.org/> >> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> >> > > Hi,
Everything you wanted to know about the tabcontrol http://dotnetrix.co.uk/tabcontrols.html Cor Show quoteHide quote "Newbie Coder" <newbie_coder@pleasespamme.com> schreef in bericht news:OxSy7IvHHHA.1784@TK2MSFTNGP06.phx.gbl... > Hiya All > > I have a tab Control with 5 tabs (index 0 - 4) > > I have disabled tabs 1-4 & just left 0 enabled. How do I click on > something > like a button on tab 0 which then brings tab1 into view/focused? > > Tabs 0-4 are all visible. The button on Tab 0 will enable the other tabs, > but I also need it to select tab 1 > > I am using VB.NET 2003 > > TIA > > Thanks Cor
Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:OsA3Q9zHHHA.1240@TK2MSFTNGP03.phx.gbl... > Hi, > > Everything you wanted to know about the tabcontrol > > http://dotnetrix.co.uk/tabcontrols.html > > Cor > > "Newbie Coder" <newbie_coder@pleasespamme.com> schreef in bericht > news:OxSy7IvHHHA.1784@TK2MSFTNGP06.phx.gbl... > > Hiya All > > > > I have a tab Control with 5 tabs (index 0 - 4) > > > > I have disabled tabs 1-4 & just left 0 enabled. How do I click on > > something > > like a button on tab 0 which then brings tab1 into view/focused? > > > > Tabs 0-4 are all visible. The button on Tab 0 will enable the other tabs, > > but I also need it to select tab 1 > > > > I am using VB.NET 2003 > > > > TIA > > > > > > ....except this.
See my response above. Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:OsA3Q9zHHHA.1240@TK2MSFTNGP03.phx.gbl... > Hi, > > Everything you wanted to know about the tabcontrol > > http://dotnetrix.co.uk/tabcontrols.html > > Cor > > "Newbie Coder" <newbie_coder@pleasespamme.com> schreef in bericht > news:OxSy7IvHHHA.1784@TK2MSFTNGP06.phx.gbl... >> Hiya All >> >> I have a tab Control with 5 tabs (index 0 - 4) >> >> I have disabled tabs 1-4 & just left 0 enabled. How do I click on >> something >> like a button on tab 0 which then brings tab1 into view/focused? >> >> Tabs 0-4 are all visible. The button on Tab 0 will enable the other tabs, >> but I also need it to select tab 1 >> >> I am using VB.NET 2003 >> >> TIA >> >> > >
Q: DataColumn Expressions
There is already an open DataReader associated with this Connection which must be closed first What is WebBrowser control called now? Manipulating controls created by another thread The below snippet does not work...anyone know how to reference a procedure? Form1.closing in VB2005??? Datagrid problem DateTime Getting an Object Properties value... Q: DataView with Table with large number of rows |
|||||||||||||||||||||||