Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Rolandas.
>> I need declare function GotFocus(). My goal is refresh form every time, when move to next row. <<
Then how about putting this code in the AfterRowColChange method of the grid:
Thisform.refresh()
Of course, this code will execute even when you tab from column to column within a single grid row. So what you may want to do is add a custom property to your grid called nRecNo and set it to RECNO(This.RecordSource) in the BeforeRowCoChange. Then, before refreshing in afterRowColChange, you can check for This.nRecNo = RECNO(This.RecordSource) and only refresh the form when they are different.
Marcia
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