TextBox - starts with all text selected

TextBox - starts with all text selected

Post by RGF2aWQgVG » Sat, 08 Dec 2007 06:43:00


Hi;

I have a read only TextBox that I initialize with Text="hi there"; when
initializing. It sets all the text to be selected - how can I have it not be
selected?

--
thanks - dave
david_at_windward_dot_net
http://www.yqcomputer.com/

Cubicle Wars - http://www.yqcomputer.com/
 
 
 

TextBox - starts with all text selected

Post by v-lli » Sat, 08 Dec 2007 12:58:41

Hi Dave,

Setting the TabStop property of the read-only TextBox to false should solve
the problem.

Please try my suggestion to see if it solves the problem and let me know
the result.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://www.yqcomputer.com/ #notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://www.yqcomputer.com/
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

 
 
 

TextBox - starts with all text selected

Post by RGF2aWQgVG » Sun, 09 Dec 2007 04:47:02

that fixed it - thanks

--
thanks - dave
david_at_windward_dot_net
http://www.yqcomputer.com/

Cubicle Wars - http://www.yqcomputer.com/