Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress event fires twice
Message
De
20/02/2003 15:06:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Keypress event fires twice
Divers
Thread ID:
00755710
Message ID:
00755710
Vues:
34
I have a grid and a command button on form (where else).
Command button click has code I want to run.
Form is previewing all key strokes (thisform.KeyPreview = .T.)
KeyPress event fires code in the command button click when nKeyCode is 13.
User clicks command button and life is good.
If focus is on the grid and user presses enter key, code in command button is run exactly twice.

WhatUpWitDat?

Clueless in Garden Grove
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform