Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.ActivateCell doesn´t work.
Message
From
16/09/1997 11:21:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
.ActivateCell doesn´t work.
Miscellaneous
Thread ID:
00050206
Message ID:
00050206
Views:
61
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
Map
View

Click here to load this message in the networking platform