Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Short Cut keys
Message
From
19/06/2003 05:23:53
 
 
To
19/06/2003 05:19:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00801643
Message ID:
00801646
Views:
12
Abhishek,

Add the NODEFAULT as indicated below. This will prevent further processing of the keystroke

>Hi all,
>
>Some of my forms are accepting data from a grid interface. Therefore I have written this code in the textboxes of the columns.
>
>Do Case
>   Case nKeyCode = -5 and nShiftAltCtrl = 0
        NODEFAULT
>	Do Menu\shrtCut.Mpr
>
>   Case nKeyCode = -6 and nShiftAltCtrl = 0
        NODEFAULT
>	ThisForm.Save
>	ThisForm.Addnew
>EndCase
>It does the job asked. Unfortunately it also prints a special character in the textbox.
>
>Anybody has ideas how to remove it.
>
>Thanks.
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform