本文介绍了如何在.net WinForms中设置单选按钮的选项卡顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我对winforms中的RadioButtons的制表顺序有疑问.我有一个GroupBox,其中有四个Textboxes和五个RadioButtons以及Buttons.当按下选项卡时,RadioButtons选项卡的顺序不起作用.这个怎么做. .




Main GroupBox选项卡顺序0
label1标签顺序0.1
textbox1选项卡顺序0.2
label2标签顺序0.3
textbox2标签顺序0.4

主GroupBox选项卡中的另一个GroupBox顺序为0.5
与组框,我有RadioButtons选项卡顺序0.5.0
RadioButtons选项卡顺序0.5.1
RadioButtons选项卡顺序0.5.2
RadioButtons选项卡顺序0.5.3

在主组"框中

label3标签顺序0.6
textbox3选项卡顺序0.7

还有几个按钮

Button1 Tab顺序0.8
Button2 Tab顺序0.9
Button3制表符顺序0.10


我设置了单选按钮的某些属性,例如TabStop = False

Hi guys, I have a problem with tab order of RadioButtons in winforms. I have a GroupBox, in that four Textboxes and Five RadioButtons and also Buttons . when pressing the tab , RadioButtons tab order don''t work. How to do this. .




Main GroupBox tab order 0
label1 tab order 0.1
textbox1 tab order 0.2
label2 tab order 0.3
textbox2 tab order 0.4

Another GroupBox within the main GroupBox Tab Order 0.5
with groupbox i have RadioButtons Tab Order 0.5.0
RadioButtons Tab Order 0.5.1
RadioButtons Tab Order 0.5.2
RadioButtons Tab Order 0.5.3

in Main Group Box

label3 tab order 0.6
textbox3 tab order 0.7

and also few Buttons

Button1 Tab order 0.8
Button2 Tab order 0.9
Button3 Tab order 0.10


I set the some properties of radioButtons like TabStop =False

Please any one help me.

推荐答案



这篇关于如何在.net WinForms中设置单选按钮的选项卡顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 16:09
查看更多