关于 vb 6.0 IF then else 的
省略前面的IFElse:MsgBox"XXXXXXXx",vbYesNoCancel+vbCriticalIfyesThenMsgBox"XXXXXXXx"Else:Ms...
省略 前面的 IF
Else: MsgBox "XXXXXXXx", vbYesNoCancel + vbCritical
If yes Then
MsgBox "XXXXXXXx"
Else: MsgBox "XXXXXXXX"
求解
Private Sub Command1_Click()
MsgBox "XXXXXXX"
MsgBox "XXXXXXXXXXX"
MsgBox "XXXXXXXXXXXXX", vbYesNoCancel + vbExclamation
If yes Then
MsgBox "XXXXXXXXXX"
Else: MsgBox "XXXXXXXXXX ", vbYesNoCancel + vbCritical
If yes Then
MsgBox "XXXXXXXX "
Else: MsgBox "XXXXXXXXXX"
End If
XXXXXXXXX 表示的都是不同的内容 展开
Else: MsgBox "XXXXXXXx", vbYesNoCancel + vbCritical
If yes Then
MsgBox "XXXXXXXx"
Else: MsgBox "XXXXXXXX"
求解
Private Sub Command1_Click()
MsgBox "XXXXXXX"
MsgBox "XXXXXXXXXXX"
MsgBox "XXXXXXXXXXXXX", vbYesNoCancel + vbExclamation
If yes Then
MsgBox "XXXXXXXXXX"
Else: MsgBox "XXXXXXXXXX ", vbYesNoCancel + vbCritical
If yes Then
MsgBox "XXXXXXXX "
Else: MsgBox "XXXXXXXXXX"
End If
XXXXXXXXX 表示的都是不同的内容 展开
3个回答
展开全部
If MsgBox("XXXXXXXXXXXXX", vbYesNoCancel + vbExclamation) = vbYes Then
MsgBox "XXXXXXXXXX"
Else
If MsgBox("XXXXXXXXXX ", vbYesNoCancel + vbCritical) = vbYes Then
MsgBox "XXXXXXXX "
Else
MsgBox "XXXXXXXXXX"
End If
End If
MsgBox "XXXXXXXXXX"
Else
If MsgBox("XXXXXXXXXX ", vbYesNoCancel + vbCritical) = vbYes Then
MsgBox "XXXXXXXX "
Else
MsgBox "XXXXXXXXXX"
End If
End If
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
掉坑里了,拉黑
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询