Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select content when a textbox is clicked
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Select content when a textbox is clicked
Divers
Thread ID:
01023063
Message ID:
01023063
Vues:
65
Hi

I have overriden the TextBox control to add some new features.

I have overriden the GotFocus event to call the SelectAll method. That is working well the users are tabbing through controls.

But what about when the users are clicking (with the mouse) into a control ?

I want the content to be highlighted when the user clicks a textbox for the first time (but it cannot be into the Click event because it will stop them from highlighting a range of the textbox).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform