Article
    C#
    ADO.Net
    .NET
    ASP.Net & Web Forms
    Custom Controls
    Web Development
    Exception Handling
    XML
    Database
    Security in .Net
    Testing
    Web Services
    Windows Services
    Windows Controls
    WCF
    AJAX
    WPF
    XAML
    Reporting
    Setup
    VB.Net
    LINQ
    JQuery
    SilverLight
    JavaScript
    HTML5
    Crystal Report
    Cloud Computing
    Share Point
    Visual C++
    MVC
    Android
    PHP
    Java
    HTML
    WordPress
    Joomla
    Products
    Drupal
    Windows Phone
    JSON
    LightSwitch
    iPhone/iPad
    Ruby on Rails
    IIS 7
    Windows 8
    CSS/CSS3
    Excel
    MS Access
    Shortcut Keys
    Visual SourceSafe
    Team Foundation Server
    API(s)
    Sencha-Touch
    Single Page App
    Bootstrap
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Top Contributor
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog

Home >> VB.Net >> TabControl in VB.Net
TabControl in VB.Net
TabControl in VB.Net


by Pushpendra Singh on 12/13/2010 6:20:38 PM

Views: 7623       Comments: 0

TabControl in VB.Net

The TabControl is a container control that allows you to display multiple tab on a single form and it allowed switching between the tabs.

How to use TabControl

Drag and drop TabControl from Toolbox on the window Form.

TabControl in VB.Net

Change header text of TabPages

 Private Sub Form27_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

      TabPage1.Text = "Email" 'Header text of TabPage1 will be chnaged

     TabPage2.Text = "Language" 'Header text of TabPage2 will be chnaged

 End Sub

Header Text of TabPages will be change when application run.

TabControl in VB.Net

Select Tab:  Any tab page can be select

TabControl in VB.Net

Language tab page will open when Language Tab is clicked.

TabControl in VB.Net

More TabPages can be added in TabControl.

 Private Sub Form27_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        'Add new tab page

        TabControl1.TabPages.Add("Database")

  End Sub

TabControl in VB.Net

TabControl properties

ItemSize:  Gets or sets the size of the control's tabs. 

TabStop:  Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.

Visible:  Gets or sets a value indicating whether the control and all its child controls are displayed.

 

Report Abuse Form
Reason:    
 

Title :
Comment :
Text ColorBackground Color
BoldItalicUnderline
LeftCenterRightJustify
Ordered ListBulleted List
IndentOutdent
Horizontal Rule
SubscriptSuperscript
HyperlinkImage
Design ModeDesign
View HtmlHtml
     
 
Latest Article by Pushpendra SinghRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Latest BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Top Viewed ArticlesRSS Feed
    
    
    
    
    
    
    
    
    
    
Top Viewed BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
Latest Interview QuestionsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Total Online Users: 2635
Advertisement
MindStick DataConver
Advertise with Us
  
Copyright © 2014MindStick. All Rights Reserved.