Information générale
Titre:
.ActivateCell doesn´t work.
I have a problem with .ActivateCell in a grid.
I am inserting records in a grid. When the .ActiveRow reachs the maximun available
in the space of the grid (in my case 3 rows), the ActivateCell doesn´t work properly.
I have this code and it is in a infinite bucle, because it doesn´t change the column.
Also as it doesn´t change the column it doesn´t fires the .AfterRowColChange method
that is where I have the code to control the grid.
nCol=1
With ThisForm.grdGrid
.ActivateCell(.ActiveRow,nCol)
Do While .ActiveColumn!=nCol
* The programm gets in here only when the ActiveRow reach the maximun
.ActivateCell(.ActiveRow,nCol)
.Refresh()
Enddo
Enddo
Thank you in advance.
Juan P. Perez
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