English 中文(简体)
在VB中,从方案上启动表格关键功能。 净窗口应用程序
原标题:Programatically triggering tab key functionality in a VB.Net windows application

我怎么能够以方案方式在VB中启动表格的关键功能。 净窗口应用?

目前我的申请 我在使用一个分裂器时,用一个表态钥匙,重点正按正确的顺序进行。

但 我需要使用arrow钥匙,把重点转移到下一次控制上,同样,当用户发布标语时,重点就在进行。

预支

最佳回答

您可以模拟<代码>SendKeys.Send(string)(在系统范围内)。 表格名称空间。 传真:SendKeys.Send("{TAB}”

查阅所有关键编码,查询

问题回答

时间比以往更晚,因为我发现这一职位寻求解决类似问题的办法。

视窗 形式型的集装箱在其继承链中占有一定位置,其方法为TabKey(Boolean realForward)。 这正是你在你形式上所需要的。 “TabKey(true)”进程将沿着表格索引前进。 TabKey(false)将使其倒退。

非常简单的法典

在数据网概貌的关键Down活动上撰写

   If e.KeyCode = Keys.Enter Then
          Your code here
        SendKeys.Send("{TAB}")
        e.Handled = True
   End If




相关问题
Capture desktop without my window

I want to create a recording of desktop content, but without a certain window. The role of this window is to provide a text that will be read, while recording desktop changes. Any suggestions?

Logout from an desktop application to change user in C#.net

I have designed an desktop application using C#.net that has many users. Each USer has specific rights. The User logs into the system when the application first starts and the UserID number is stored ...

Programmatically take ScreenShot of Desktop in Ruby?

I asked this question about taking a picture of a webpage programmatically, and I ve downloaded and got webkit2png working (taking pictures of HTML pages like blogs and whatnot). So cool, thanks for ...

热门标签