Arthur Fuller
fuller.artful at gmail.com
Thu May 22 13:43:55 CDT 2008
That worked like a charm, Rocky. Thanks for that. It's dead simple too. Just set KeyPreview to true, then in the KeyDown event check the value of the KeyCode parameter: The constants are obviously named too (e.g., vbKeyPageUp etc.) That was the last known bug in my app, and now it's dead. Time for a tall one :) Arthur On Thu, May 22, 2008 at 1:03 PM, Rocky Smolin at Beach Access Software < rockysmolin at bchacc.com> wrote: > I don't know if it's the best way but using key preview and trapping the > keystrokes in the KeyDown event would probably work. > >