Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete new row in grid - not visually updating
Message
De
08/09/1998 13:04:29
 
 
À
07/09/1998 18:52:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00133631
Message ID:
00134136
Vues:
11
>To all who have endured this thread:
>
>Thanks for all the ideas. As my final word - the problem with the grid deletion stems from setting AllowAddNew = .T. - a row added with the downarrow key can be deleted - but the grid will NOT refresh properly - and this deleted row will still be visible.
>
>My best workaround is to set AllowAddNew =.F. and trap the INS key from within the grid and use program code in the keypress event to add new rows. These rows delete properly. It also eliminates the user [or a cat] from leaning on the downarrow key and adding 50 rows to the invoice. Not exactly the "active grid" I had dreamed of for invoicing - but this works.

My users like to use down arrow key. Is it possible to trap the
down arrow instead of Ins ?

How to move to first column after adding row?
AllowAddNew handles this automatically.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform