杰克琼斯官网是真的吗:VB难题!!高手进入
来源:百度文库 编辑:神马品牌网 时间:2024/05/11 23:41:10
现在有一个 LABEL1.CAPTION是“CA”
Private Sub Command1_Click()
If Label1.Caption = "ca" Then MsgBox "AF"
End Sub
现在ca是小写,LABEL1的是大写
如何让程序不区分大小写。
Private Sub Command1_Click()
If Label1.Caption = "ca" Then MsgBox "AF"
End Sub
现在ca是小写,LABEL1的是大写
如何让程序不区分大小写。
If StrComp(Label1.Caption, "ca", 1)=0 then msgbox "AF"
以上。
热的老狼
Private Sub Command1_Click()
If UCASE(Label1.Caption) = "CA" Then MsgBox "AF"
End Sub