如何在Windows窗体应用程序中跳过对按键的组框控件 [英] How to skip groupbox controls against keypress in windows form application
本文介绍了如何在Windows窗体应用程序中跳过对按键的组框控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
嗯,这里你需要根据你的要求维护 Tab Order 。
Control.TabIndex 属性获取或设置其容器内控件的Tab键顺序。
参见 MSDN [ ^ ]。
将第一个分组框的标签顺序设为1,将第二个分组设置为第三个分组框。问题解决了:)
-KR
in a windows form there are 3 groupbox. and every groupbox holds some textbox controls. first, user enter the data in first groupbox controls, then he wants to skip the second groupbox. so mouse pointer will blink on the 3 rd groupbox controls. how? anybody can help me? thanks in advance...
解决方案
Well, here you need to maintain the Tab Order according your requirement.
Control.TabIndex property gets or sets the tab order of the control within its container.
See the MSDN[^].
Give tab order to the first groupbox as 1, and 2 to the third groupbox. Problem Solved :)
-KR
这篇关于如何在Windows窗体应用程序中跳过对按键的组框控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文