Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Focus Problems
Message
 
To
06/06/1996 10:10:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00001895
Message ID:
00002003
Views:
57
>>
>>If I remember right the NODEFAULT keyword will
>>stop the focus from following the Tab order
>>(prevents system events from occuring).
>
>I have searched for documentation on NODEFAULT but
>find none.
>However, my recollection of that keyword is that
>it can be used to prevent the VFP Base Class
>method from executing after your subclass method
>executes.
>
>I still have no means of accomplishing this task.
>So far, I have gotten all of the obvious methods
>... use lastkey(), lostfocus(), valid(), etc ...
>
>This is not easy. I would like to see some
>"Challenge" oriented guru take this on and JUST DO
>IT. I can't seem to.
>
>Thanks for your thoughts.


Don

I just tried NODEFAULT in the KeyPress method of a Textbox & it will not let the cursor out of the textbox (it works). If you return FALSE from a valid you can trap a user with 'invalid input' from FoxPro & keep the focus there -- watch out for that one or you will not even be able to quit FoxPro!

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform