Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Down arrow key and selecting a ListBox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00879967
Message ID:
00880233
Views:
37
Steve,

>Once issued does nodefault become global, or just limited to a particular context?

No, it's local only to the object/class where it's executed.

>for MyTextBox1
>proc keypress
>if the key is 24 && the down arrow key
> go to the listbox
> nodefault
>endif
>
>So now every time the down arrow is pressed, the focus moves to the listbox, even
>if the down arrow is pressed when in myTextBox2?

Since the nodefault is executed inside the IF it will only conditionally take effect.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform