Tabcontrol in VB.Net 2005


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Tabcontrol in VB.Net 2005

  1. #1
    Join Date
    Jul 2004
    Posts
    366

    Question Tabcontrol in VB.Net 2005

    I'm trying to set the width of the tabcontrol depending on which tab is selected. Anyone know which event first first. I've tried Gotfocus, Lostfocus... I'm wanting the width of the control to change when I select a different tab.

    Thanks in advance.

    Jb

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Either catch the TabControl's Click event (use the control's SelectedTab property to see which tab was clicked) or you can catch the control's SelectedIndexChanged property.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Replies: 7
    Last Post: 08-20-2008, 08:05 AM
  2. Replies: 4
    Last Post: 12-11-2007, 08:18 AM
  3. Interop problems in VB.NET 2005...
    By KenBeccard in forum .NET
    Replies: 0
    Last Post: 09-05-2007, 03:26 PM
  4. VB.Net 2005 and Transparency
    By MarkDuncan in forum .NET
    Replies: 0
    Last Post: 01-11-2006, 09:17 AM
  5. Replies: 0
    Last Post: 07-18-2005, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center