I am a biginner of VB, how can I suppress a key press in CellKeyPressed events in my example:
Private Sub GridDesktop1_CellKeyPressed(ByVal sender As Object, ByVal e As Aspose.Grid.Desktop.CellKeyEventArgs) Handles GridDesktop1.CellKeyPressed
If e.KeyCode = 65 Then
e.SuppressKeyPress = True
Else
e.SuppressKeyPress = False
End If
End Sub
I can suppress the "A" in the cell if cell is empty, somehow if I key-in "1A" then the keystroke will bypass the above procedure.
This message was posted using Page2Forum from CELLKEYPRESSED - Aspose Search Results - Aspose.com