Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I put the code in the Init of the grid after doing a DODEFAULT(), is that okay?
That should work. FWIW, what I tend to do with my classes is have a "Set" method that is called from the class's Init(). SO, for my grid classes, I always have a method called SetGrid that is called from the Init() and my base form class has a template method called SetForm that is called from the Init, and so on. So, in my case, I would just put that line of code to my SetGrid method along with any other code required to setup the grid, like hightlighting the current row, for example.
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