下面是引用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