推荐于2017-11-28
展开全部
对Text1.Text属性赋值:
Dim a As Integer
Private Sub Command1_Click()
a = a + 1
Text1.Text = Text1.Text & "这是第" & a & "次点击" & vbCrLf
Text1.SelStart = Len(Text1.Text)
End Sub
用 & 连接变量和字符串
补充:你要把你的text1的multiline属性设置为true
Dim a As Integer
Private Sub Command1_Click()
a = a + 1
Text1.Text = Text1.Text & "这是第" & a & "次点击" & vbCrLf
Text1.SelStart = Len(Text1.Text)
End Sub
用 & 连接变量和字符串
补充:你要把你的text1的multiline属性设置为true
2013-05-15
展开全部
Private Sub Command1_Click()
Static a As Integer
a = a + 1
Text1.Text = "这里第" & a & "次单击"
End Sub
Static a As Integer
a = a + 1
Text1.Text = "这里第" & a & "次单击"
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询