RichTextBox的和tab键 [英] RichTextBox and tab key

查看:236
本文介绍了RichTextBox的和tab键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个RichTextBox,我注意到,当我按下Tab键则没有做任何事情。
它是假设做一些空间,但它没有。

I created a richTextBox and i noticed that when I press Tab key it is not doing anything. It is suppose to do some space but it do not.

我怎样才能访问它?

推荐答案

在默认情况下按Tab将焦点移到下一个控件。在RichTextBox的AcceptsTab属性设置为真正允许在RichTextBox接受制表符。

By default pressing tab moves focus to the next control. Setting AcceptsTab property of the RichTextBox to true allows the RichTextBox to accept tab characters.

请参阅上的 AcceptsTab财产

这篇关于RichTextBox的和tab键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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