Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Adding new rows to a grid under program control
I am trying to allow users to add a new item to an invoice grid. I would like the new line (row) to be formatted with the correct line number, todays date etc. I have been trying to insert the appropriate code into the beforerowcolchange or afterrowcolchange events by determining the number of active rows in the invoice - checking which row is active - and detecting a "down-arrow" key pressed while in the last row.
I am not able to make this work. I can determine the activerow in the afterrowcolchange event using the activerow property - but I cannot detect the downarrow key.
Any Ideas? thanks in advance as always.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement