Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event trapping
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00446451
Message ID:
00446543
Views:
14
You might want to add a SET ESCAPE OFF prior to the critical section.

>Hi all:
>is there any way I can trap or prevent events from happening on a form while I am executing a function in a program file?
>
>I am getting a keypress event in a text box on a form while I am executing a function in a .prg file. This event is causing the function to quit prematurely!
>The function is started from the valid event of that same text box.
>This has serious consequenses to the stability of my program.
>
>What I would like to do is prevent any events from happening while I process my critical function.
>
>Any help or suggestions would be appreciated. I thought about API calls, but can not seem to find any to do that for me.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform