惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
T
Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Engineering at Meta
Engineering at Meta
T
Tenable Blog
C
Cisco Blogs
T
The Blog of Author Tim Ferriss
NISL@THU
NISL@THU
T
Threat Research - Cisco Blogs
T
The Exploit Database - CXSecurity.com
P
Privacy & Cybersecurity Law Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
S
Secure Thoughts
N
News and Events Feed by Topic
Google DeepMind News
Google DeepMind News
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
H
Hacker News: Front Page
I
InfoQ
L
LangChain Blog
Security Latest
Security Latest
The Cloudflare Blog
Forbes - Security
Forbes - Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Stack Overflow Blog
Stack Overflow Blog
TaoSecurity Blog
TaoSecurity Blog
量子位
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
Scott Helme
Scott Helme
爱范儿
爱范儿
A
Arctic Wolf
F
Full Disclosure
酷 壳 – CoolShell
酷 壳 – CoolShell
Schneier on Security
Schneier on Security
N
News and Events Feed by Topic
C
CXSECURITY Database RSS Feed - CXSecurity.com
L
LINUX DO - 最新话题
V2EX - 技术
V2EX - 技术
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
The Hacker News
The Hacker News
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Know Your Adversary
Know Your Adversary
Application and Cybersecurity Blog
Application and Cybersecurity Blog

博客园 - ◎寶☆呗

Sharepoint 自定义字段(栏) 动态获取数据 Sharepoint 工具使用总结 Sharepoint 内存泄漏 检测工具+-- Extjs 中的tbar中的事件 instsrv.exe——来自Windows 2000 Resource Kits的一个小工具 [转载]MOSS 2007 SP1 stsadm 194 条指令 (用命令行部署infopath Form )Deploy administrator-approved form templates using command line sharepoint计时器(定时发邮件) Infopath开发经验(xml数据) 基本活动:CodeActivity Creating a Custom SharePoint 2007 List Definition 通过Sharepoint扩展的Webserives来获取某一权限是是否存在 Create a New SharePoint Permission Level and Bind it to an Existing SharePoint Group 执行带返回参数的存储过程 Sorry.....Sorry..... 操作Infopath中的XMl C#编程规范<二> C#代码规范. 工作需要养成的习惯(个人经验)
winform Tab键循序 小发现
◎寶☆呗 · 2009-01-20 · via 博客园 - ◎寶☆呗

在Winform 的应用程序中,我们通常需要设置Tab的键的循序,当我们使用用户控件的时候,我们在界面会发现很难设置.

将我的小发现告诉大家吧,当需要设置用户控件的Tab键的时候,我们首先把那些不用tab键获取的控件的TabStop属性设置为False;

例如:

我们不需要获取焦点的GroupBox

gbKeyword.TobStop=false;

然后将其他剩下的需要获得焦点的空间的TabIndex都设置为1.

在使用户控件的时候,设置用户控件的值就ok了.

然后说说,在使用很多个GroupBox,界面比较复杂的情况下,怎么设置Tab键的循序呢.

截一张图看看,你就会明白了.

请大家注意看哦,在每个GroupBox下的那些控件的TabIndex的循序.

GroupBox 控件有其自己的 TabIndex 值,该值是一个整数。GroupBox 控件本身无法在运行时具有焦点。因此,GroupBox 内的每个控件都有其自己的十进制 TabIndex 值,该值从 .0 开始。当 GroupBox 控件的 TabIndex 递增时,其中的控件自然也相应递增。如果将 TabIndex 值从 5 更改为 6,则该组中第一个控件的 TabIndex 值自动更改为 6.0,依此类推。

补充一下,怎样才能看到上面显示的那写数字呢?哈哈,在 vs2008中,菜单里面的View下的Tab Order.

你就可以看见里面的图上的那些数字了.