Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is CHRSAW() for?
Message
De
12/09/2011 14:28:30
 
 
À
12/09/2011 13:34:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01523252
Message ID:
01523296
Vues:
48
>Hi, Naoto:
>
>>Which KeyPress() event? The Form or TextBox? If the one in the Form object, did you set KeyPreview to .T. ?
>
>1) Textbox.KeyPress()
>
>2) Yes. KeyPreview is set to .T.
>
>Anyway you must understand before posting this I put code after IF !A... and. after IF !B and the code worked. So CHRSAW() returns .F. despite there are keystrokes remaining in the buffer.
>
> Héctor
If you're using the TextBox method, then you don't really need (nor want) to set the KeyPreview of the form to .T. -- if I'm not mistaken, you set this so that the form's method would take precedence over the individual controls.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform