How to programmatically select all the text of a TextBox control (Compact .NET 2.0)
Posted
by PabloG
on Stack Overflow
See other posts from Stack Overflow
or by PabloG
Published on 2010-05-15T16:39:27Z
Indexed on
2010/05/15
16:44 UTC
Read the original article
Hit count: 278
wince
|windows-mobile
I want to select all the text of a System.Windows.Forms.TextBox() control in a GotFocus event, but all the examples I found make use of the .SelectionStart / .SelectionEnd properties of the control, and those aren't available in .NET 2.0 Framework.
Any ideas?
TIA, Pablo
© Stack Overflow or respective owner