mainMenu和SendKeys.Send(" ^ c") [英] mainMenu and SendKeys.Send("^c")

查看:92
本文介绍了mainMenu和SendKeys.Send(" ^ c")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的mainMenu我有物品复制,剪切,粘贴...


我有一个带有大量文本框的表格


在我的子项目副本中,我有:SendKeys.Send(" ^ c")


但如果用户在文本框中选择文本...请单击
mainMenu ...

它不起作用

In my mainMenu i have items Copy, cut, paste...

I have a form with a lot of textbox

In my sub of item copy i have : SendKeys.Send("^c")

but if the user select a text in a textbox... click Copy in the
mainMenu...
it doesn''t work

推荐答案

你好,


Clipboard.SetDataObject(这是一个测试,真)





----------------------


" ucasesoftware" < UC *********** @ hotmail.fr>在消息中写道

news:11 ********************** @ o13g2000cwo.googlegr oups.com ...
Hi,

Clipboard.SetDataObject("This is a test", True)

Ken

----------------------

"ucasesoftware" <uc***********@hotmail.fr> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
在我的mainMenu我有物品复制,剪切,粘贴...

我有一个带有很多文本框的表单

在我的子项目副本中我有:SendKeys.Send(" ^ c")

但如果用户在文本框中选择文本...请单击
mainMenu中的复制...
不工作
In my mainMenu i have items Copy, cut, paste...

I have a form with a lot of textbox

In my sub of item copy i have : SendKeys.Send("^c")

but if the user select a text in a textbox... click Copy in the
mainMenu...
it doesn''t work






Clipboard.SetDataObject(这是一个测试,真的)





----------------------


" ucasesoftware" < UC *********** @ hotmail.fr>在消息中写道

news:11 ********************** @ o13g2000cwo.googlegr oups.com ...
Hi,

Clipboard.SetDataObject("This is a test", True)

Ken

----------------------

"ucasesoftware" <uc***********@hotmail.fr> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
在我的mainMenu我有物品复制,剪切,粘贴...

我有一个带有很多文本框的表单

在我的子项目副本中我有:SendKeys.Send(" ^ c")

但如果用户在文本框中选择文本...请单击
mainMenu中的复制...
不工作
In my mainMenu i have items Copy, cut, paste...

I have a form with a lot of textbox

In my sub of item copy i have : SendKeys.Send("^c")

but if the user select a text in a textbox... click Copy in the
mainMenu...
it doesn''t work



????我知道这个,但我想在主菜单中发送CTRL C

???? i know this but i want to send CTRL C in main menu


这篇关于mainMenu和SendKeys.Send(&quot; ^ c&quot;)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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