Prevent automatic selection on textbox focus

Posted by Jiri on Stack Overflow See other posts from Stack Overflow or by Jiri
Published on 2010-04-16T09:19:32Z Indexed on 2010/04/16 9:23 UTC
Read the original article Hit count: 297

Filed under:
|
|
|

Hello,

When you use a tab key to select a textbox, all text in it is automatically selected. What's the easiest way to prevent this from happening? (Setting the selection to none in Enter or GotFocus events doesn't work)

Thanks (-:

© Stack Overflow or respective owner

Related posts about .NET

Related posts about vb.net