Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 8.0 form error - newbie question
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00943924
Message ID:
00943927
Views:
19
You can do that with simply different way:

1. Remove ÎN KEY LABEL command
2. ERASE procedure p_esc
3. Set the KeyPreview propertie of the FormB to .t.
4. In KeyPress EVENT of the formB put the following code:
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nKeyCode == 27 .AND. nShiftAltCtrl == 0 && Esc w/o Shift, Ctrl or Alt
   NODEFAULT
   thisform.Release()
   RETURN
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform