vb中,怎么获取label.caption属性

2025-04-28 01:49:06
推荐回答(3个)
回答1:

你单选按钮起不起作用。。。不起作用就是如下代码
Private Sub Command1_Click()
Text1.Text = "啥子"
End Sub

回答2:

Private Sub Command1_Click()
If Option1.Value = True Then
Text1.Text = Label1.Caption
End If
End Sub

回答3:

If Option1.Value = True Then
Text1.Text = Label1.Caption
End If