turning off hardkey interception

hlo

Member
Licensed User
I have a program for the smartphone that uses the hardkey routines to intercept the d-pad in a form. by pushing the left and right it scans thru a database. when the file is found a menu button is pressed and that file is editable. only problem is the up and down on the d-pad does not work so i cant move between fields.
is there a way to disable the interception of the d-pad keys and let it go back to the normal way.
thanks, HLO
 

hlo

Member
Licensed User
You can catch the left and right keys with Form_KeyPress event. Use the Door library to set the form's KeyPreview property to true (it is the first example here: Door)

Ah, so the door essentially (among a lot other things) turns events on or off. Good to know.
I guess this is where I need to dig a little deeper into .net
thx, hlo
 
Top