Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Characters
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00101034
Message ID:
00101149
Views:
18
Thank you it works Great! I gotta ask thou, Why?? I have only
used the NODEFAULT in the Methods (Like in Refresh etc...)

Thanks Again!

>Bob,
>
>In the KeyPress of the Form, I'm assuming you have something like this:
>
>If nKeyCode = -5 && F6
> This.txtBox.SetFocus()
>EndIf
>
>This code would give the results you describe. Adding a NoDefault inside the if statement will throw the keystroke away so nothing gets passed to the txtBox. It would then look like this:
>
>If nKeyCode = -5 && F6
> This.txtBox.SetFocus()
> NoDefault
>EndIf
>
>HTH
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform