本文介绍了选项卡索引或Tab顺序不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
-SA
No, you don't set it properly. Don't forget two things: 1) Tab stop should be enabled, see System.Windows.Forms.Control.TabStop; 2) control containers, parents of your controls also have TabIndex which should be taken into account.
—SA
嗨大家!! 我有一个窗口表格,其中我有几个控件,我已经为每个控件设置了Tab键顺序,但它无法正常工作。意味着当我在运行时按Tab键时它不会停在所需的控件上。甚至我已经将tabstop属性设置为true。 请帮助。
Hi folks!! I have a windows form in which I have few controls , I have set the tab order for each control but its not working properly. Means when I press tab at run time it doesn't stops at desired control. even I have set the tabstop property to true. Please Help.
推荐答案不,你没有正确设置它。不要忘记两件事:1)应该启用制表符停止,参见 System.Windows.Forms.Control.TabStop ; 2)控制容器,你的控件的父母也有 TabIndex 这应该被考虑在内。
在此处阅读有关tabindex属性的更多信息 - msdn.microsoft/en-us/library/ms534654(v = vs.85).aspx [ ^ ]。 确保选项卡索引属性不是负数。 Read more about the tabindex property here - msdn.microsoft/en-us/library/ms534654(v=vs.85).aspx[^]. Make sure that the tab index property is not negative.
更多推荐
选项卡索引或Tab顺序不起作用
发布评论