有没有大神啊,求这个vb的代码?

2025-12-06 11:39:14
推荐回答(2个)
回答1:

Private Sub Command1_Click()
Dim x As Control
Text2.Text = ""
Text2.Text = Text2.Text & Text1.Text
For Each x In Me.Controls
  If TypeOf x Is CheckBox Then
  If x.Value = 1 Then Text2.Text = Text2.Text & x.Caption
 End If
Next

End Sub

回答2:

这个题目最大的难度是不知道你的学号和姓名