看板 Visual_Basic 關於我們 聯絡資訊
Dim x As Integer Private Sub Command1_Click() a = "123" b = "456" If x = 0 Then x = x + 1 Text1.Text = a Else Text1.Text = b End If End Sub Private Sub Form_Activate() x = 0 End Sub 這我的寫法!! 好像蠻鳥的!! ※ 引述《BNT (頹廢也是一種美)》之銘言: : Private Sub Command1_Click() : a = "123" : b = "456" : Text1.Text = a : ← ? : Text1.Text = b : End Sub : 請問ㄧ下要怎麼寫 才能讓我 按一下按鈕 : 第一次是123 : 第二次是456 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.121.166.142