View Single Post
  #3 (permalink)  
Old 05-02-2008, 01:07 AM
Dave Mitchell's Avatar
Dave Mitchell Dave Mitchell is offline
Newbie
 
Join Date: Mar 2008
Posts: 8
Default

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
Reply With Quote