Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is CHRSAW() for?
Message
From
12/09/2011 14:28:30
 
 
To
12/09/2011 13:34:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01523252
Message ID:
01523296
Views:
50
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform