5450.html

来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 23 行

HTML
23
字号
<html>
  <head>
    <title>Re: How can I get the focus in many textbox?</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: How can I get the focus in many textbox?</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:h4005@mail.intonet.net.tw">老怪</a> on September 09, 1998 at 23:21:52:<p>
In Reply to: <a href="4594.html">How can I get the focus in many textbox?</a> posted by FanHao on August 11, 1998 at 14:43:47:<p>
: I am a beginer for VB, I need help, maybe the question is so simple, but I can't <br>: solve it by myself.<p>: Q :<br>: I want to judge whether the focus is in the special textbox , but I can't<br>: get the focus by use the function "If textbox1.SetFocus = True Then", <br>: because compile error often occurs ,How can  I do ?<br>: I am anxious for your answer, thank you very much.                                        <br>:                               <p>You Can Use <br>If Me.ActiveControl.Name="Text1" Then<br>..........<br>End If<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 5450-->
</ul><!--end: 5450-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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