VB6中的HotKeys [英] HotKeys in VB6

查看:111
本文介绍了VB6中的HotKeys的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何为任何命令指定热键

Hi
How to assign hotkey to any command

推荐答案




如何为任何命令分配热键
Hi
How to assign hotkey to any command



如果命令文本或标题是点击我并且你想要assigen M作为热键然后将标题更改为Click& ME

If the Command Text Or Caption is "Click ME" and you want assigen M as Hot Key then change the caption to "Click &ME"



如果命令文本或标题是点击我并且你想将assigen M作为热键,然后将标题改为Click& ME。
If the Command Text Or Caption is "Click ME" and you want assigen M as Hot Key then change the caption to "Click &ME"



我正在尝试做同样的事情。但是当有人说按F1时,我希望事情能够执行。我猜这个作品有所不同吗?

I''m trying to do the same thing. But i want things to execute when someone say presses F1. I''m guessing that works different?



我正在尝试做同样的事情。但是当有人说按F1时,我希望事情能够执行。我猜这个作品有所不同?
I''m trying to do the same thing. But i want things to execute when someone say presses F1. I''m guessing that works different?



1.制作表格Keypreview = True

2.表格按键事件


1. Make Form Keypreview = True
2. In Form Key Down Event

展开 | 选择 | Wrap | 行号


这篇关于VB6中的HotKeys的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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