Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select content when a textbox is clicked
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Select content when a textbox is clicked
Miscellaneous
Thread ID:
01023063
Message ID:
01023063
Views:
64
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
Next
Reply
Map
View

Click here to load this message in the networking platform