Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Tabcontrol set the focus?
Message
De
11/01/2011 03:18:00
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
How to use Tabcontrol set the focus?
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Divers
Thread ID:
01495582
Message ID:
01495582
Vues:
86
         HI ALL,
                      i have a tabcontrol called TabControl1 , it include the 2 page ,called TabPage1, TabPage2...
In TabPage1, i have a button . Form load after,will dislay the TabPage1 first....
In this time , i want to onclick the button .... and it will auto go to TabPage2 and select the textbox...
But i can't it , how can i do? thx



My code

TabPage2.Focus()
textbox1.Focus()
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform