Thanks so much for the response. I still must not be getting it, the following code does not display any msgbox when the D-Pad keys are pressed.
Thanks, dave
' Uses door.dll, ofrm is an object
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
ofrm.New1(false)
ofrm.FromControl("Form1")
ofrm.SetProperty("KeyPreview",true)
End Sub
Sub ControlName_KeyPress (SpecialKey)
Msgbox (SpecialKey)
End Sub
|