设置选项卡索引

发布于 2024-09-10 10:09:19 字数 138 浏览 1 评论 0原文

我在运行时在网格中有一些值..两列“名称”和“值”..我制作了列[0]即名称 不可编辑..因此,当我按 Tab 时,我不希望 Column[0] 上有 tabindex ..我希望 Tab 仅在可编辑值上移动..任何人都可以帮忙!

提前致谢!!!

I have some values in Grid at Runtime.. Two Columns "Name" and "Value".. I made column[0] i.e Name
uneditable..So when I press tab I don't want tabindex on Column[0]..I want Tab to move only on editable values.. Can Anyone Help!!!

Thanks in Advance!!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦里寻她 2024-09-17 10:09:19

尝试将该列的 TabIndex 设置为负值 -1。

从这个页面 MSDN 你有以下内容:

您可以通过设置从 Tab 键顺序中删除 Web 服务器控件
TabIndex 属性设置为负数
值。

Try to set TabIndex for that column with a negative value as -1.

From this page on MSDN you have the following:

You can remove a Web Server control from the tab order by setting
the TabIndex property to a negative
value.

长不大的小祸害 2024-09-17 10:09:19

实际上,负值不适用于选项卡索引,它会出错,如果是这种情况,请尝试为选项卡索引尝试正数或零。

谢谢,

Actually, negative values wont work on tab index, it makes error, if that's the case try positive number or zero for your tab index.

Thanks,

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文