كود منع ادخال المسافات في مربع النص

0

ادخل الكود في الفورم

Private Sub Text1_KeyPress(KeyAscii As Integer)
    If KeyAscii = 32 Then
        KeyAscii = 0
    End If
End Sub

جميع الحقوق محفوظه © Visual Basic 6 MAN