Last post Jan 17, 2018 10:43 AM by rajesh93180
Jan 17, 2018 09:48 AM|demoninside9|LINK
On a button click I am doing work like below.
Protected Sub btn_add_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_add.Click
// do somthing
Catch ex As Exception
oLocalLogging.LogError((New System.Diagnostics.StackFrame()).GetMethod().Name, ex)
Dim oDebug As New debug
oDebug = Nothing
I want to do the same on ONKEYPRESS handler so that users which are unable to use a mouse, so use the keyboard instead.
Need to add an equivalent keyboard event handler to help these users. As I am not much familiar with VB please suggest.
Jan 17, 2018 10:43 AM|rajesh93180|LINK
Did you try using Generic Handler? which can be called on on key press event as well?