Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting focus to object on page frame
Message
 
To
28/02/1997 17:34:02
Paul Wei
Fib, State of Michigan
Lansing, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00022439
Message ID:
00022511
Views:
41
>>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.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform