开发者

How to use KeyPress event in textBox with Tab character?

   private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
    {
        if (e.KeyChar == (char)Keys.Tab)开发者_开发技巧
        {
            keybox4.Focus();
        }
    }

It not working but enter character its Working?


You will need to have the MultiLine property set to true, and AcceptsTab also set to true.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜