Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Forms & Form designer
>I've got KeyPreview=.T. on a standard form. In Keypress, I'm "watching" for certain keystrokes (function keys mainly). I need to use ALT+F5 to trigger a function, but it appears they Keypress event doesn't capture the ALT key. Is there a way around this?
Scott,
In KeyPress you should develop logic to evaluate nKeyCode and nShiftAltCtrl. In your case trap for nShiftAltCtrl = 108 (numeric). If this isn't the problem, then I would check to see if there is an On Key set somewhere using the the key combination.
Regards, Renoir
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only