Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Key Label {,[,],}
Message
 
 
To
03/04/2005 20:43:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01001124
Message ID:
01001129
Views:
18
This message has been marked as the solution to the initial question of the thread.
You can set KeyPreview of a form to .T. and trap keys in the KeyPress event
* Form's KeyPress
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nKeyCode = 29 AND nShiftAltCtrl = 2
  * process CTRL+]
  NODEFAULT
ENDIF
>
>I want to be able to use the characters '{', '[', ']', '}' in conjuction with the Ctrl key
>
ON KEY LABEL CTRL+} _SCREEN.ActiveForm.cntDetail.Nav4btns.Navigate('TOP')
>Unfortunately, this returns a syntax error.
>
>Is there a way around this limitation?
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform