⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 5556.html

📁 以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题.对一些VB初学者很用.
💻 HTML
字号:
<html>
  <head>
    <title>Re: 如何按Esc让Form消失?</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: 如何按Esc让Form消失?</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by AndyLin on September 11, 1998 at 16:58:16:<p>
In Reply to: <a href="5537.html">Re: 如何按Esc让Form消失?</a> posted by Linus on September 11, 1998 at 10:39:25:<p>
: : <br>: : : 请问如何写按下Esc后让Form Unload或执行一个sub?<p>: : ..在已GetFocus的物件上的KeyPress事件上判断<br>: :   if KeyAcsii=27 then<br>: :       unload me<br>: :   end if<br>: :      <br>: 我在Form_KeyPress()试过,但是不行<p>试试看在 keydown 事件中加入下列程式码<br>:   if Keycode=vbkeyescape then<br>: :       unload me<br>: :   end if<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 5556-->
</ul><!--end: 5556-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -