我想寫個program,是樣的:
Use the timer,when the first second.the textbox hae 1 space before the words.After 1 second,there are 2 space before the words......I know the 時間控制,but there are some problem:
someone told me that I can use a=a+1 for the number of space,but i don't know how 電腦可將a的數值轉成textbox前有幾多個space?
this is my program but it doesn't work....
Dim a As Integer
Private Sub Timer1_Timer()
Timer1.Interval = 1000
a = a + 1
Text1.Text = a * " " + "Test"
End Sub
arrow
arrow
    全站熱搜

    vbqa 發表在 痞客邦 留言(1) 人氣()