Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Hi Wei Lin,
>
>Clicking on Scrollbar won't change grid's row or column, so your code in rowcolchange won't fire until one of the column on grid had a focus.
>
>You can try to add code on scrolled event and doscroll method.
>
>HTH
Thank you for your reply, Senna. The current record number (recno()) does not change when I use up/down arrow on the scroll bar. However, it changes when I move thumb up and down, though active row number does not change. I also feel confused by FoxPro Grid's activity when I scroll down to last record in the grid on a Master/Detail form.
My problem is that I have code to verify the data in AfterRowColChanged. The unexpected current record changes triggers unexpected execution.
Wei Lin
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