Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii >= Asc("a") And KeyAscii <= Asc("z") Or KeyAscii >= Asc("A") And KeyAscii <= Asc("Z") Then Else KeyAscii = 0 End If End Sub 就能限制只能接受英文字母
判断限制只接收英文
最新推荐文章于 2025-05-27 00:24:04 发布