如何在TextBox中隐藏光标(特别是在FireFox浏览器中)? [英] How can I hide the cursor in a TextBox(specially in FireFox browser)?

查看:81
本文介绍了如何在TextBox中隐藏光标(特别是在FireFox浏览器中)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!
我有一个文本框,其readOnly = True.
但是用典型的光标和
显示我想要的文本 似乎用户可以在其中写.

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?

推荐答案

如果将TextBox的 Enabled 属性设置为 false ,光标将不会显示在文本框中.
If you set Enabled property of the TextBox to false the cursor will not be shown in the TextBox.


这篇关于如何在TextBox中隐藏光标(特别是在FireFox浏览器中)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆