Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to NOT stop the Select SQL?
Message
De
27/01/2005 16:50:44
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
27/01/2005 16:35:51
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00980904
Message ID:
00981517
Vues:
59
>>>Mike-
>>>
>>>>I see no way to make the query continue if the user hits escape. To me the whole point is that the user is tired of waiting and wants to quit. If they hit escape by mistake, they'll have to learn to be more careful. You could put a window behind the progress bar, which advertises the escape key and warns of the consequences.
>>>
>>>FWIW, one can, if one allows Fox handle the escape, but I wouldn't even dream of suggesting that to Nadya.
>>
>>Care to demonstrate having the query continue after hitting escape?
>
>IIRC, all you have to do is SET ESCAPE ON, then when asked if you want to cancel, say no.

There would have to be no error handler in effect, so that's not good. But beyond that you get Cancel, Suspend, Ignore. Ignore seems to continue at the next line, without returning records, rather than continuing with the query.

>
>Updated: Also, IIRC, there can be quite a bit of lag time between the time the user presses escape and the app responds. I don't recall at all how it compares to using one's own SET ESCAPE routine.

There seems to be no difference in the time lag with one's own routine or without.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform