Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.ActivateCell doesn´t work.
Message
De
16/09/1997 11:21:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
.ActivateCell doesn´t work.
Divers
Thread ID:
00050206
Message ID:
00050206
Vues:
66
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
Fil
Voir

Click here to load this message in the networking platform