文本框不允许输入空格
(2024-02-02 16:30:50)
标签:
it |
分类: VB程式 |
Private Sub txt_name_KeyPress(KeyAscii As Integer)
'不允许输入空格
If KeyAscii = 32 Then KeyAscii = 0
End Sub
后一篇:空气开关与漏电保护开关区别

加载中…