Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress problems
Message
 
 
À
14/12/1998 01:01:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00167079
Message ID:
00167088
Vues:
19
>If you haven't seen this before, at least I can confirm that it's not supposed >to happen. Must be some more general thing is going on. Actually, without
> the parameters being passed, you should have had other problems so I suspect >that your code IS NOT being run ... something else is.

Well, I just checked to be sure, and no other control on the form has ANY keypress code. The form's Keypress code does work, I press Ctrl S and the appropriate code runs, for example.

> Check the root level of the form for the KeyPreview property. It must be set > to .t. for your form level KeyPress code to work. Otherwise, the
> KeyPress code attached to each control is what gets used. In my system these > are all empty. The KeyPreview property is used to allow the form to
> handle KeyPress events before the active control processes them.

The KeyPreview is set to .T. on the form.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform