Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress/Keypreview in Form level not acting right?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00003207
Message ID:
00003270
Vues:
25
>>Put 'NODEFAULT' in your KeyPreview() code. Is
>>suppresses VFP from going up the ladder & doing
>>it's thing like going to the next field.
>>
>>Tom
>
>I think you mean KeyPress() <g> ... but I did that
>and it didn't make a difference. The NODEFAULT
>simply stops the CURRENT control from it's actions
>(if I'm inside a grid or another textbox, it won't
>go to the next one in the tab order). It doesn't
>do anything to stop the ESC key from doing
>something or the F2 key?? If you have a moment,
>you should try it. I think the ESC key operates
>outside the normal bounds of the KeyPress logic at
>the form level. MS KN Library has an article on it
>as a bug where the TAB key is also detected at the
>form level when the keypreview is .F.

Jim

Look in help under the 'Clear Macro' command. The system macros are firing.

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