>>>You might try Nodefault before setfocus, sometimes that works...
>>
>>Thanks, I'll try that. I was trying to lookup "Nodefault" but couldn't find it in Help. What does it do?
>
>You can find it in VFP 5.0 Help. Just in case you don't have it:
>
>NODEFAULT Prevents Visual FoxPro from performing its default event or method processing for Visual FoxPro events and methods. For example, if the KeyPress event occurs, including NODEFAULT in the KeyPress procedure or function prevents Visual FoxPro from placing the key press into the Visual FoxPro keyboard buffer. This allows you to create a KeyPress procedure that lets you test which key is pressed before the key is sent to the keyboard buffer.
>
>NODEFAULT may be placed anywhere within the event or method procedure. Note that NODEFAULT may also be placed within an event or method procedure in the Form Designer.
Yes, I'm still using 3.0b. Thanks for the description.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement