Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Key from a grid
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Contracts, agreements and general business
Title:
Delete Key from a grid
Miscellaneous
Thread ID:
01332623
Message ID:
01332623
Views:
46
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
Next
Reply
Map
View

Click here to load this message in the networking platform