开发者

Make a textbox not blink?

开发者 https://www.devze.com 2023-01-09 20:49 出处:网络
I am trying t开发者_高级运维o get a control i can click on, press any keys (except tab) and have it take in the input. I tried using this and had a problem with the arrow keys changing the focus. That

I am trying t开发者_高级运维o get a control i can click on, press any keys (except tab) and have it take in the input. I tried using this and had a problem with the arrow keys changing the focus. That question is here.

The textbox seems to work but i dont like how it blinks. As in the line that shows where you next letter will be placed. How do i fix this?


Blinking is a system wide option. Check this out.


If you create a UserControl based on the standard textbox you can use [Control::IsInputKey][1] to override default behaviour which causes the control to lose focus.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号