📄 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,怎么可能会出现text1的lostfocus...还是你的程式写错了...<br>: : : 我测试过了丫,都没有问题.当点一下text2,则出现gotfocus,再点其他地方,则先出现lostfocus,再出现gotfocus...再试试吧<p>: : 你是不是用我附的程式测的?我在 text1_lostfocus 里用了 text1.stefocus ,<br>: : 按理讲跑这个程式会让 vb6 当在那边才对!<p>: 没错丫..我是用你的程式测的...<br>: 你在text1_lostfocus里用了text1.setfocus<br>: 当你点选了text1_lostfocus后,就执行text1.setfocus<br>: 但你的text_gotfocus里只有debug.print "gotfocus"<br>: vb将"gotfocus"印出后,就没事做了丫,不能算当吧!...<p> 问题是 VB 没把 "gotfocus" 印出来啊!这个程式没办<br>法停止,但可以把即时运算视窗拉到下面,执行时还是可以<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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -