[mw_shl_code=vb,true]Option Explicit
Dim x4$, x2$, x1$, x3$, s$
Private Sub xingbie_DragDrop(Source As Control, X As Single, Y As Single)
If Option1.Value Then x1 = Option1.Caption
Else: x1 = Option2.Caption
End If
End Sub
Private Sub xueli_DragDrop(Source As Control, X As Single, Y As Single)
If Option3.Value Then x2 = Option3.Caption
Else: If Option4.Value Then x2 = Option4.Caption
Else: x2 = Option5.Caption
End If
End Sub
Private Sub aihao_DragDrop(Source As Control, X As Single, Y As Single)
If Check1.Value Then x4 = Check1.Caption
If Check2.Value Then x4 = x4 & " " & Check2.Caption
If Check3.Value Then x4 = x4 & " " & Check3.Caption
If Check4.Value Then x4 = x4 & " " & Check4.Caption
End Sub
Private Sub Command1_Click()
s = s & xingbie.Caption & ":" & x1 & vbCrLf
s = s & xueli.Caption & ":" & x2 & vbCrLf
s = s & zhiye.Caption & ":" & x3 & vbCrLf
s = s & aihao.Caption & ":" & x4 & vbCrLf
Label3.Caption = s
End Sub
[/mw_shl_code
这怎么搞得