?? 5953.html
字號:
<html>
<head>
<title>建議不要寫在 LostFocus 事件中</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>建議不要寫在 LostFocus 事件中</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:yfwu@iname.com">小吳</a> on September 24, 1998 at 08:01:55:<p>
In Reply to: <a href="5938.html">Re: 您的方法跟我的要求不一樣耶?!</a> posted by 小馬 on September 23, 1998 at 18:11:28:<p>
其實(shí)如非必要,我是非常不贊成把檢查錯誤的程式寫在 LostFocus 事件中。建議你在 OK 按鈕中才對 form 中所有的欄位做檢查。<br>VB6 多提供一個事件可以讓你寫檢查程式,所以如果你一定要針對欄位做檢查的話請改用 VB6
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 5953-->
<!--top: 5958--><li><a href="5958.html">這樣就無法即時(shí)控制USER不能繼續(xù)輸入了啊?!</a> <b>小馬</b> <i>08:43:06 9/24/98</i>
(<!--responses: 5958-->6)
<ul><!--insert: 5958-->
<!--top: 5978--><li><a href="5978.html">Re: 可以這樣做。。。</a> <b>David Wong</b> <i>13:40:24 9/24/98</i>
(<!--responses: 5978-->4)
<ul><!--insert: 5978-->
<!--top: 5988--><li><a href="5988.html">看不太懂耶!可以再討論一下嗎?</a> <b>小馬</b> <i>17:02:36 9/24/98</i>
(<!--responses: 5988-->3)
<ul><!--insert: 5988-->
<!--top: 6014--><li><a href="6014.html">Re: 看不太懂耶!可以再討論一下嗎?</a> <b>David Wong</b> <i>13:33:35 9/25/98</i>
(<!--responses: 6014-->2)
<ul><!--insert: 6014-->
<!--top: 6018--><li><a href="6018.html">上次回信有個地方您漏看了,是我問題所在</a> <b>小馬</b> <i>16:31:30 9/25/98</i>
(<!--responses: 6018-->1)
<ul><!--insert: 6018-->
<!--top: 6068--><li><a href="6068.html">Re: 上次回信有個地方您漏看了,是我問題所在</a> <b>David Wong</b> <i>21:12:22 9/27/98</i>
(<!--responses: 6068-->0)
<ul><!--insert: 6068-->
</ul><!--end: 6068-->
</ul><!--end: 6018-->
</ul><!--end: 6014-->
</ul><!--end: 5988-->
</ul><!--end: 5978-->
<!--top: 5962--><li><a href="5962.html">Re: 這樣就無法即時(shí)控制USER不能繼續(xù)輸入了啊?!</a> <b>nothing</b> <i>10:14:33 9/24/98</i>
(<!--responses: 5962-->0)
<ul><!--insert: 5962-->
</ul><!--end: 5962-->
</ul><!--end: 5958-->
</ul><!--end: 5953-->
<br><hr size=7 width=75%><p>
</body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -