如何在VB6中创建快捷方式/热键? [英] How to create shortcuts / hotkeys in VB6?

查看:94
本文介绍了如何在VB6中创建快捷方式/热键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计



如何在VB6中创建自己的快捷方式?

示例:我想提供此文本Hello World !每当我按下Ctrl + T。



问候

v_tigra

解决方案

看看这个:创建一个热键 [ ^ ]


< blockquote>在按键事件上你可以写下面的代码



  if  keycode = vbkeyf4 然后 
cmdcompute_click()
结束 if





另读这篇文章



http://visualbasicnetcode.blogspot。 in / 2010/05 / how-to-create-hot-key-in-visual-basic-6.html [ ^ ]


Hey Guys

How do I create own shortcuts in VB6?
Example: I want to give out this text "Hello World!" whenever I press Ctrl+T.

Regards
v_tigra

解决方案

Check this out: create-a-hot-key[^]


On key press event you can write following code

if keycode = vbkeyf4 then
cmdcompute_click()
End if



Also read this post

http://visualbasicnetcode.blogspot.in/2010/05/how-to-create-hot-key-in-visual-basic-6.html[^]


这篇关于如何在VB6中创建快捷方式/热键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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