title: allow numbers, dots and backspace and delete in textbox
body: <p>i have the following code:</p>
  
  <pre><code>Private Sub TxtPStof_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TxtPStof.KeyPress
      e.Handled = Not (Char.IsDigit(e.KeyChar) Or e.KeyChar = ".")
  
  End Sub
  </code></pre>
  
  <p>which allows only digits and . in my textbox, however i also need to be able to delete values using the backspace or the delete button.</p>
  
  <p>Is this possible?</p>
  
  <p>Thanks! :)</p>