VB Code:
Private Sub txtName_KeyPress(KeyAscii As Integer) If KeyAscii = 32 Then If Len(Text1.Text) > 0 Then If Right$(Text1.Text, 1) = " " Then KeyAscii = 0 End If End If End If End Sub
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |