Probao sam na sledeci nacin, u KeyPress events text box-a sam dodao
Code:
If e.KeyChar = "." Or Not IsNumeric(e.KeyChar) Then
'neki kod (obavestenje...)
e.Handled = True
End If
Sto se tice numerickih tastera to sve lepo radi ali se i tacka (.) svrstava u isteIf e.KeyChar = "." Or Not IsNumeric(e.KeyChar) Then
'neki kod (obavestenje...)
e.Handled = True
End If
pokusao sam i umesto e.KeyChar = "." da stavim e.KeyChar = ChrW(46) ili e.KeyChar = ChrW("46")
Gde gresim?