Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Here's a good one for you....ON ESC
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00100351
Message ID:
00100355
Views:
29
>vfp 3.0 win 95
>
>I have a browse screen with a combo box, on
>selection of record, pageframe is opened automatically
>to display record.
>
>I now want to use ESC Key to halt execution of code that
>opens pageframe which lies inside the lostfocus event
>of the combo box, and close the form or release the form.
>
>I have tried putting set escape on and on escape thisform.release,
>which lies in gotfocus event of form, however, code fires anyway and opens pageframe to display record.
>
>Once record is displayed form does release. I'm thinking I need
>a do case or if statement, any thoughts?

i think you need to set the escape key before you enter the form (or formset)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform