How to catch hardkeys ?

conf

Member
The Hardware lib can catch only 10 keys (Key1 -> Key5, Left, Right, Up, Down, Enter). I use PPC Phone with numpad and want to catch all keys. How can I do that ? Thank you so much :)
 

conf

Member
Thank Erel,

I just want to write a program like Keycode (please view attach file).
 

Attachments

  • keycode.zip
    2.5 KB · Views: 264

specci48

Well-Known Member
Licensed User
Longtime User
Maybe this sample works for you.
The keypress event is provided through the active object. As the button is the only object on the form, it is always active. ;)

This sample catches most key events, except something like PageUp, Insert, etc.


sepcci48
 

Attachments

  • KeyPressHex.zip
    2.9 KB · Views: 274

conf

Member
Thank Sepcci48.
I run on my device and it work so good but some keys still not response. Thank you so much :)
 
Top