⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 18172.html

📁 VB技巧问答10000例 VB技巧问答10000例
💻 HTML
字号:
<html>  <head>    <title>&amp;#25105;&amp;#26159;&amp;#19981;&amp;#30693;&amp;#36947;&amp;#20320;&amp;#22312;&amp;#23531;&amp;#21861;&amp;#21862;...</title>  </head>  <body bgcolor="#FFFFFF" vlink="#808080">    <center>      <h1>&amp;#25105;&amp;#26159;&amp;#19981;&amp;#30693;&amp;#36947;&amp;#20320;&amp;#22312;&amp;#23531;&amp;#21861;&amp;#21862;...</h1>    </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by #29833;#29833; on August 31, 1999 at 10:15:01:<p>In Reply to: <a href="18161.html">Re: 副程式传参数,可不可以传控制项阵列?</a> posted by 黄牛 on August 31, 1999 at 03:44:25:<p>: 这样写是哪里错了呢?<p>: Private Sub MyFunction(Txt1 As Variant)<br>:     For i = 0 To UBound(Txt1)<br>:         Txt1(i).Text = i<br>:     Next i<br>: End Sub<p>: Private Sub Command1_Click()<br>:     MyFunction (Text1)<br>: End Sub<p>&#25105;&#26159;&#19981;&#30693;&#36947;&#20320;&#22312;&#23531;&#21861;&#21862;... (&#25105;&#29992; IE 5 , &#28961;&#27861;&#30456;&#23481;&#26044;&#20320;&#30340;&#23383;&#30908;)<br>&#19981;&#36942;&#20320;&#30340; Code &#22823;&#27010;&#26159;&#19981;&#21487;&#34892;&#30340;... &#25105;&#20197;&#20320;&#29992; TextBox &#28858;&#31684;&#20363;, &#20320;&#23601;&#33258;&#34892;&#21443;&#32771;&#21543;!<p>&#21999;... &#35531;&#23531;&#32321;&#39636;&#20013;&#25991;...<p>Sub TestTextBox(txtArray As Variant)<p>For i = txtArray.LBound To txtArray.UBound<br>' &#25110; For i = 0 To txtArray.Count - 1<br>   With txtArray(i)<br>      Debug.Print .Index, .Text<br>   End With<br>Next i<p>End Sub<p>Private Sub Form_Load()<p>Me.Show<br>TestTextBox Text1 ' Text1(0), Text1(1), ...<p>End Sub<br><ul><li><a href="http://feitsui.hyd.ncku.edu.tw/TLCheng/Basic/index.htm">&#22521;&#22522;&#35486;&#35328;</a></ul><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 18172--><!--top: 18239--><li><a href="18239.html">对不起,我想问个问题!</a> <b>天儿</b> <i>11:06:42 9/01/99</i>(<!--responses: 18239-->2)<ul><!--insert: 18239--><!--top: 18243--><li><a href="18243.html">Re: 对不起,我想问个问题!</a> <b>琏琏</b> <i>11:52:36 9/01/99</i>(<!--responses: 18243-->1)<ul><!--insert: 18243--><!--top: 18293--><li><a href="18293.html">谢谢!</a> <b>天儿</b> <i>11:25:50 9/02/99</i>(<!--responses: 18293-->0)<ul><!--insert: 18293--></ul><!--end: 18293--></ul><!--end: 18243--></ul><!--end: 18239--><!--top: 18236--><li><a href="18236.html">谢谢!</a> <b>黄牛</b> <i>09:56:30 9/01/99</i>(<!--responses: 18236-->0)<ul><!--insert: 18236--></ul><!--end: 18236--></ul><!--end: 18172--><br><hr size=7 width=75%><p></body></html>

⌨️ 快捷键说明

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