Dim Mask As New myEditorTextBox
Grid1.Columns(3).CellEditor = Mask
————————————————————————
Public Class myEditorTextBox
Inherits GridTextBox
Protected Overrides Sub OnKeyPress(ByVal e As System.Windows.Forms.KeyPressEventArgs)
If Asc(e.KeyChar) = 45 Then
e.Handled = True
SendKeys.Send(“@”) <<<<<<<<<<<<<<<< ‘ lunch a hidden loop!!??!?! 🙁
End If
End Sub
End Sub
Thanks.
Imported from legacy forums. Posted by AndreaZ (had 596 views)