Hi,
I have the following code in the command1 button of a click event.
Object: Command1 Procedure: Click
ThisForm.grid1.ActivateCell( 3, 2 ) && row 3 , column 2
ThisForm.grid1.Refresh
ViewValue = hisFormt.grid1.grcTest.txtTest.value
wait window vv
For Example, If grid1.grcTest Column contain 5 rows and when running the form and clicking on the command1 button. ViewValue will display the value from row 1,column 2 ( not the right value ). Unless I put the same code inside the grid1.grcTest.txtTest Click event or any events inside the grid. Does anyone knows why?
Any help is appreciated.
Steve
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