?? 8777.html
字號:
<html>
<head>
<title>Re: 有 lostfocus , 無 getfocus</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 有 lostfocus , 無 getfocus</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by jutso on January 01, 1999 at 05:30:03:<p>
In Reply to: <a href="8769.html">Re: 有 lostfocus , 無 getfocus</a> posted by Nelson on December 31, 1998 at 17:30:12:<p>
: : : 老兄..不會吧!..點一下text2,怎么可能會出現(xiàn)text1的lostfocus...還是你的程式寫錯了...<br>: : : 我測試過了丫,都沒有問題.當(dāng)點一下text2,則出現(xiàn)gotfocus,再點其他地方,則先出現(xiàn)lostfocus,再出現(xiàn)gotfocus...再試試吧<p>: : 你是不是用我附的程式測的?我在 text1_lostfocus 里用了 text1.stefocus ,<br>: : 按理講跑這個程式會讓 vb6 當(dāng)在那邊才對!<p>: 沒錯丫..我是用你的程式測的...<br>: 你在text1_lostfocus里用了text1.setfocus<br>: 當(dāng)你點選了text1_lostfocus后,就執(zhí)行text1.setfocus<br>: 但你的text_gotfocus里只有debug.print "gotfocus"<br>: vb將"gotfocus"印出后,就沒事做了丫,不能算當(dāng)吧!...<p> 問題是 VB 沒把 "gotfocus" 印出來??!這個程式?jīng)]辦<br>法停止,但可以把即時運算視窗拉到下面,執(zhí)行時還是可以<br>看到 debug.print 的輸出的!<p><br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 8777-->
</ul><!--end: 8777-->
<br><hr size=7 width=75%><p>
</body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -