12777.html

来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 27 行

HTML
27
字号
<html>
  <head>
    <title>Re:Answer for &quot; 请问如何控制TextBox中的游标?&quot;</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re:Answer for &quot; 请问如何控制TextBox中的游标?&quot;</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by Spencer Yang on May 10, 1999 at 11:24:16:<p>
In Reply to: <a href="12775.html">请问如何控制TextBox中的游标?</a> posted by jack on May 10, 1999 at 10:46:43:<p>
设定text box的游标<p>Private Sub txt_GotFocus()<br>    With txt<br>        .ForeColor = vbRed<br>        .SelStart = 0<br>        .SelLength = Len(.Text)<br>    End With<br>End Sub<p>至于载入时出现于自订位置,只有针对x textbox 的tabindex设定为即可。
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 12777-->
<!--top: 12871--><li><a href="12871.html">thank you ^^</a> <b>jack</b> <i>02:11:51 5/13/99</i>
(<!--responses: 12871-->0)
<ul><!--insert: 12871-->
</ul><!--end: 12871-->
</ul><!--end: 12777-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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