6653.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 23 行
HTML
23 行
<html>
<head>
<title>Re: VB 的 Hot Key 设定</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: VB 的 Hot Key 设定</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:z22356@ms13.hinet.net">北极熊</a> on October 21, 1998 at 17:03:26:<p>
In Reply to: <a href="6637.html">VB 的 Hot Key 设定</a> posted by Norman on October 21, 1998 at 10:04:47:<p>
不太懂你的意思,还是讲好了!<p>首先,你要先写CommandButton的Event<br>然后写Form_KeyPress的Event(只是范例):<br>Select Case KeyCode<br> Case vbKeyF2<br> CommandButton1.Click<br>End Select<br>就可以了吧?<br>还是你要让CommandButton的Event「只」能以F2触发?<br>那你还要CommandButton控制项干嘛啊?<br>乾脆再写一个子程序就得啦!<p><p><br>: 如何设定 Commandbutton 用 HotKey 去触发 Event<p>: 如 Add 用 F2<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 6653-->
</ul><!--end: 6653-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?