Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON KEY LABEL in VFP
Message
From
14/02/2001 07:37:01
 
 
To
14/02/2001 07:04:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00475619
Message ID:
00475625
Views:
37
Hi Paul

You should really use the KeyPress event of the Form. I think you need to set KeyPreview (or a property like that) to true so that the form intercepts all key presses before the control the cursor is in.

If you still want to use the On Key approach you need to set it to _Screen.ActiveForm...... or _Screen.Forms[xx].. where xx is the form number.

Still going OK in Leeds? Have you thought any more about contracting? I might be returning to it as NextCall went bust a couple of weeks ago!
regards

Ian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform