Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Chuck,
>>>Thanks for the help. Question: When you say put the code in the grid, where would you put it in the grid? What property or event, etc.?
Also, with regard to putting the code in the form, are saying to create a New Method in the form, put this code in the new method, and call it from the txtBox events in the grid?
In either a form or a grid, I would create a custom method to call from the textbox. Whether I put the method in the form or the grid would depend on whether I wanted to reuse the grid on another form or not. Whatever location would insure that the code only appeared in one place (not always as easy to accomplish as to state) is where I would put it.
pamela
Précédent
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