标签故障 [英] Tab malfunction

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

问题描述

出于某些奇怪的原因,Tab拒绝在特定表单上的此文本框上工作.我可以跳至文本框,但不能跳出文本框. 将TAb接受为输入"属性为false.

谷歌搜索令人惊讶地没有产生任何结果(不计算接受"选项卡属性).

有任何想法吗?

解决方案

请确保您已在表单中的所有控件上专门设置了Tab键顺序,并查看它是否可以解决该问题.

可能是您为控件编写了一些代码,以防止Tab键起作用.


我做到了,所有控件都有特定的Tab键顺序,这是我唯一能想到的当我更改UI输入语言时,这与一个众所周知的10英寸杆极远地触及了这一点,我认为这是原因,因为该窗体上更改其UI的所有其他文本框都遭受同一件事的困扰.

有趣的是,该更改是在Utility类中完成的,并由大约60种其他形式使用(数字不夸张).那么为什么要使用这种特定形式呢?

==========

来自JSOP:可能是需要设置一个属性,而您没有在出现问题的表单中进行设置.如果它能以其他所有形式工作,那么我将从比较问题表的构造函数,Load事件处理程序和Shown处理程序(如果有的话)开始,再将其与可以正常工作的窗体进行比较.

For some strange reason, tab refuses to work on this one textbox on a specific form. I can tab to the textbox but not out of it. The Accepts TAb as input property is false.

Googling has surprisingly yielded no result regarding this (not counting the Accept tab property).

Any ideas?

解决方案

Make sure you''ve specifically set your tab order on all controls in the form and see if it fixes it.

It might be that you''ve written some code for the control to prevent the tab key from working.


I did, all controls have specific tab orders and the only thing that I can think of that remotely touches on this with a proverbial 10'' pole is when I change the UI Input language which I believe is the cause because every other textbox on that form that has its UI changed is suffering from the same thing.

Its interesting to note that the change is done in a Utility class and is used by about 60 other forms (no exaggeration on the number). So why this specific form?

==========

From JSOP: It could be that a property needs to be set that you aren''t setting in the form with the problem. If it works in all other forms, I''d start by comparing the constructor, the Load event handler, and the Shown handler (if it''s got one) of your problem form to a form that works correctly.


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

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