Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding ON KEY LABEL
Message
De
26/07/2004 12:49:10
 
 
À
26/07/2004 12:26:19
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00927965
Message ID:
00927979
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
Instead of on key label, take a look at the docs for the keypress event of the form object. This is a good bit more controllable than on key label.

You could set a 'busy' flag in this event, and have an if statement that picks up the keypresses and stuffs them in an array, which you could read after your process is finished.



>Hi,
>I need to provide my users with some navigation keys that can be used on modal forms. ON KEY LABEL works a little TOO well. For example, I use the PGDN key to move between records on some forms. Sometimes a fair amount of code is run here, doing lookups on other tables, etc. If the user has quick fingers, the PGDN will run code that hasn't finished running giving some confusing results to the user. I'd like to use the menu for these key assignments thinking that repeated key strokes would que up rather than firing instantly, but the modal form disables the menu options.
>
>Many thanks for any suggestions.
>
>Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform