currently i am using If - else for the at least 1 char condition
...
End If
i tried using 099 but spaces can still be entered
ResetOnSpace property set to true didn't work
i thought of using a KeyDown event:
Private Sub txt_IPinput2_KeyPress(ByVal ...) Handles txt_IPinput2.KeyPress, txt_mask4.KeyPress, txt_mask3.KeyPress, txt_mask2.KeyPress, txt_mask1.KeyPress, txt_mask.KeyPress, txt_IPinput4.KeyPress, txt_IPinput3.KeyPress, txt_IPinput1.KeyPress
Dim control As MaskedTextBox = CType(sender, MaskedTextBox)
If Char.IsWhiteSpace(e.KeyChar) Then
<set to as if the user didn't enter anything> How do i do this
End If
End Sub