學生系統優化篇(二)

前言 **學生最複雜的不是調錯,是優化!** 一,限制只能輸入數字 Private Sub txtclassno_KeyPress(KeyAscii As Integer) If KeyAscii >= 33 Then If KeyAscii <= vbKey9 And KeyAscii >= vbKey0 Then Else KeyAscii = 0 MsgBox "請輸入數字!" End If
相關文章
相關標籤/搜索