General information
Title:
.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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only