20170.html

来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 23 行

HTML
23
字号
<html>  <head>    <title>单纯下拉式即可</title>  </head>  <body bgcolor="#FFFFFF" vlink="#808080">    <center>      <h1>单纯下拉式即可</h1>    </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by SuBird on October 15, 1999 at 08:29:00:<p>In Reply to: <a href="20166.html">请问如何能限制使用者不能在combo box内输入文字呢?</a> posted by 小青 on October 15, 1999 at 00:02:31:<p>: 我使用combo box让使用者选择所需项目!<br>: 但很多人都误会了combo box的功能,在内输入文字,我能如何使combo box内不能输入文字呢?<p>: Thanks for your helping!<br>Re:<br>1)Style设为单纯下拉式即可.<br>或者<br>2)Style设为组合式且<br>Private Sub combox1_KeyPress(KeyAscii As Integer)<br>    KeyAscii = 0<br>End Sub<br><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 20170--></ul><!--end: 20170--><br><hr size=7 width=75%><p></body></html>

⌨️ 快捷键说明

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