Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Focus Problems
Message
 
À
06/06/1996 10:10:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00001895
Message ID:
00002003
Vues:
52
>>
>>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/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform