Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escape problem in Vfp 5.0
Message
De
20/07/1998 19:42:27
 
 
À
20/07/1998 00:19:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00119151
Message ID:
00119519
Vues:
21
>>>Hi,
>>>
>>> I had a vfp5.0 application when running, within it do while loop, I cannot control the menu. However, when looping is not done or done, I can still cancel the program by pressing Escape key, I had disable the SET Developement off and option like 'disable escape key' in the option. Still I can exit the program by pressing escape key, it will prompt of 'interrupt, program error' . My code is called by a timer event. What is the problem with my code or did I miss any thing. Any help or advise is appreciated. Thank you.
>>
>>Virusim,
>>
>>You need to SET ESCAPE OFF to disable the interruption of code by the escape key.
>
>Hi,
>
> Thank for your help. However, I still cannot access my menu hot key when my code is looping in a Do WHILE LOOP. My mouse also can't access the pull down menu at all. I can access the menu when the do while loop is completed. Any suggestion or advise.
>THank you.


This is expected behavior. VFP is single threaded, so you won't be able to access the menu or other controls from inside the loop.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform