下面是引用pk01749276於2008-07-04 01:27發表的 :
那請問大大我應該如何分析呢
大大我打這樣以後便成
1
12
123
1234
藥如讓他是連續ㄉㄋ
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim I, J As Integer
TextBox1.Text = ""
For I = 1 To 10
For J = 1 To I
TextBox1.SelectedText = J
Next
TextBox1.SelectedText = vbNewLine '換行字元
Next
TextBox1.SelectionLength = 0
End Sub
End Class