留言与评论(共有 0 条评论) |
发布时间:2020-04-12 09:06:21
程序设计时把个数按钮设为command1,它的enable属性设为false,搜索按钮设为command2
再设两个文本框,程序代码如下
Private Sub Command1_Click()
Text2.Text = Len(Text1.Text)
End Sub
Private Sub Command2_Click()
If InStr(Text1.Text, "H") Then Command1.Enabled = False Else Command1.Enabled = True
End Sub
留言与评论(共有 0 条评论) |
全站搜索