13875.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· 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 June 05, 1999 at 15:14:07:<p>
In Reply to: <a href="13872.html">Style 设成 2 </a> posted by 纪文和 on June 05, 1999 at 13:37:47:<p>
Re:<br>纪兄回答的方法就可解决,但假如你的程式有用到ComboBox1_Change事件并设定资料感知后你的任何移动资料库动作都会发生错误,因为Style 设成 2 (单纯下拉式) 无法写入资料,另一个解决办法为保持Style为0(组合下拉式)并在ComboBox1_KeyPress加入如下<br>Private Sub ComboBox1_KeyPress(KeyAscii As Integer)<br> KeyAscii = 0<br>End Sub<br>如此使用者按任何键均会取消输入(KeyAscii = 0),移动资料录时有Change事件也不会错误!<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 13875-->
</ul><!--end: 13875-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?