Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete Key from a grid
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrats & ententes
Titre:
Delete Key from a grid
Divers
Thread ID:
01332623
Message ID:
01332623
Vues:
47
I using delete key from a grid

If i press delete key quickly, operation jams, and suddenly deletes
more lines of the grid than expected

I have to delete lines in slow mode

Is there any idea to prevent this, even if I press the del key quickly ?

(may be it jams because of scatter and insert commands, besides deleting )

===========================================================

LPARAMETERS nKeyCode, nShiftAltCtrl
LOCAL loEmail
IF nKeyCode = 7
SELECT emails
SCATTER NAME loEmail MEMO
INSERT INTO emails_ex FROM NAME loEmail

DELETE
SKIP
thisform.refresh()
ENDIF

thisform.refresh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform