473,396 Members | 2,057 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Windows Form Tab Control - Selecting the tabpages.

lotus18
866 512MB
Hi

How to switch to a certain tab page? I tried the focus and select method (with the name of the tabpage) but nothing happens.

Rey Sean
Jun 11 '08 #1
4 2399
DrBunchman
979 Expert 512MB
It depends which sort of tab are you using (Windows forms, AJAX tab panel etc) ?

For example the AJAX tab panel has an ActiveTabIndex property which you can set.

Dr B
Jun 11 '08 #2
lotus18
866 512MB
I'm using Windows forms

Rey Sean
Jun 11 '08 #3
DrBunchman
979 Expert 512MB
Then you can use
Expand|Select|Wrap|Line Numbers
  1.  Me.TabControl1.SelectedTab = Me.TabPage1
Hope this helps,

Dr B
Jun 11 '08 #4
lotus18
866 512MB
Then you can use
Expand|Select|Wrap|Line Numbers
  1.  Me.TabControl1.SelectedTab = Me.TabPage1
Hope this helps,

Dr B
Thanks Dr. B : )


Rey Sean
Jun 11 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: skumar | last post by:
I need to add a datagrid in the Tabcontrol which can be used in common by all Tabpages. Right now i have to add datagrid to individual tabpages. Can anyone help me in this. i just want to add...
4
by: Phil | last post by:
Hello all, Can anybody give me any ideas on how to disable a tab page within a tab control. I have a tab control tabClients with 3 pages. I would like to disable pages 2 & 3 when a certain...
2
by: Phil Stanton | last post by:
When designing a new form or report, the Default ForeColor is often something like -2147483640 which is the colour of Windows text (possibly black) and the default backColor is -2147483643...
1
by: Jonas Knaus | last post by:
hi there i am a beginner to c# and my english is bad, altough i hope you can help me. i would like to have a mainform with tabpages.(like vs-studio handels the tabpages). i would like to have...
4
by: Randall Arnold | last post by:
My application addes or deletes tab pahes at the user's discretion. On each tab page are controls that must be duplicated. Here's a sample of my code: chart_tabcontrol.TabPages.Add(1)...
0
by: Carlao | last post by:
I am using Windows Forms with vb.net. My app is a MDI and I have some child forms. My problem is when I try to use Control+Tab. If I have a TabControl control with some tabpages in the main form...
5
by: Amit | last post by:
Can anyone write the code to hide tabpage of tab control in windows form 2.0 Thanks, Amit
7
by: davidpryce123 | last post by:
Dear Windows Form Designers I am developing an application that uses a TabControl with several Tabpages. On the different Tabpages I wish to allow users to have the access to the same...
2
by: dwadish | last post by:
Guys I want to know about the tab control. I have a tab control and it contains two more tabpages. how to hide one tabpage from the user when the user click a button. already i am using this...
7
by: Ooogy | last post by:
Hey there kind folks. Maybe someone out there can tell me where I'm going wrong here. I have a winform MDI app with a parent form ("MDIHMI.vb") and a child form ("frmEMSearch"). On...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.