Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!
I've a TextBox with the readOnly=True.
But shows the text that I want with the typical cursor and
seems that the user can write in it. Is it possible to hide this cursor?
Posted
Updated 8-Feb-12 2:03am
v3

1 solution

If you set Enabled property of the TextBox to false the cursor will not be shown in the TextBox.
 
Share this answer
 
Comments
Tech Code Freak 8-Feb-12 12:11pm    
5up!

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