TabControl selecting tab page with Button * Locked
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
7 posts
Page 1 of 1
Hi, Now i want to make a stuff using Button and TabControl, I mean add 1 TabCOntrol and 1 Button
Now add 2 TabPages in TabControl, Now if click the Button1 want to make to jump TabControl to TabPage2
How i want to make it??
I want to know it to make TabControl`s TabPages Buttons with my custom buttons `cos i din`t like default TabControl`s TabPages buttons
- Kindly
- Tvs Praveen wahooo;
Now i got help from Lewis! wahooo;
To know read it below, Posted by Lewis
Now add 2 TabPages in TabControl, Now if click the Button1 want to make to jump TabControl to TabPage2
How i want to make it??
I want to know it to make TabControl`s TabPages Buttons with my custom buttons `cos i din`t like default TabControl`s TabPages buttons
- Kindly

- Tvs Praveen wahooo;
Now i got help from Lewis! wahooo;
To know read it below, Posted by Lewis

Last edited by tvs praveen on Sat Feb 20, 2010 12:10 am, edited 1 time in total.
Hello,
If you are navigating to Tab2 ( The name )
TabControl1.SelectedTab = TabControl1.TabPages.Item("Tab2")
Thanks,
Lewis
If you are navigating to Tab2 ( The name )
TabControl1.SelectedTab = TabControl1.TabPages.Item("Tab2")
Thanks,
Lewis
If you have 3 TabPages in a TabControl:
To Select the second tab:
To Select the second tab:
Code: Select all
To Select the third tab:
TabControl1.SelectedTab = TabControl1.TabPages.Item(1)
Code: Select all
To Select the first tab:
TabControl1.SelectedTab = TabControl1.TabPages.Item(2)
Code: Select all
The first tab is always "0" (TabIndex = TabNumber - 1)TabControl1.SelectedTab = TabControl1.TabPages.Item(0)
lewisfroom wrote:Hello,Thanks a lot Lewis, I love you!!!!! wahooo;
If you are navigating to Tab2 ( The name )
TabControl1.SelectedTab = TabControl1.TabPages.Item("Tab2")
Thanks,
Lewis
A great help!!!!!!!!!!!!!!!!!!!111



- Tvs Praveen
tvs praveen wrote:lewisfroom wrote:Hello,Thanks a lot Lewis, I love you!!!!! wahooo;
If you are navigating to Tab2 ( The name )
TabControl1.SelectedTab = TabControl1.TabPages.Item("Tab2")
Thanks,
Lewis
A great help!!!!!!!!!!!!!!!!!!!111![]()
![]()
wahooo; wahooo; wahooo;
- Tvs Praveen
And Nery >_<
Lewis posted while I was writting my post dunnno;
***Please Give thanks for these HELPFULL Posts***
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023