vb中label如何既输出文字又输出变量
PrivateSubCommand1_Click()DimaAsIntegerDimbAsIntegerDimcAsIntegerDimsAsIntegera=Int(V...
Private Sub Command1_Click()
Dim a As Integer
Dim b As Integer
Dim c As Integer
Dim s As Integer
a = Int(Val(Text1.Text))
b = Int(Val(Text2.Text))
c = Int(Val(Text3.Text))
s = a * b * c
Label4.Caption = ("面积为:") PS:就在这后面加上变量s的值,如何实现啊
End Sub 展开
Dim a As Integer
Dim b As Integer
Dim c As Integer
Dim s As Integer
a = Int(Val(Text1.Text))
b = Int(Val(Text2.Text))
c = Int(Val(Text3.Text))
s = a * b * c
Label4.Caption = ("面积为:") PS:就在这后面加上变量s的值,如何实现啊
End Sub 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询