且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

mainMenu和SendKeys.Send(" ^ c")

更新时间:2023-02-15 20:14:05

你好,


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" &LT; UC *********** @ hotmail.fr&GT;在消息中写道

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