Click here to Skip to main content
15,903,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear all,

I am using Visual Stadio 2010, I want to put the highlight letter in TextBox. When click on it, those letter will omit and we can enter the text.

How can I do it?

Thank you so much
Posted
Comments
Sergey Alexandrovich Kryukov 6-Jan-12 0:14am    
Do you think there is only one type called "TextBox"? Then thing again. How about fully-qualified name?
Honestly, always tag UI library you want to use --- WPF, Silverlight, Forms, ASP.NET, what?
--SA

1 solution

Please see my comment — the question is not fully formulated. Also, what do you mean by "highlight"? If this is just selection (in the sense used by the clipboard) and if this is a desktop application (WPF, Forms), this is done by assigning the values to two properties: SelectionStart and SelectionLength. Too many assumptions, wrong assumption? — not my fault; formulate your questions accurately.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900