General information
Category:
Object Oriented Programming
>I'm Programing in VFP9 But This problem It is all Version
>
>I Have a grid object 10 Line to capture information and in afterrowcolchange i have the code:
>
>Lparameters nColIndex
>Local lcRow
>With This
> If nColIndex>6
> lcRow=(.ActiveRow+1)
> .ActivateCell(lcRow,1)
> Select(.RecordSource)
> If !Eof()
> Skip
> Endif
> Endif
>Endwith
>
>The Problem is when I have more than 10 line This code is how not exist
>After size grid activellcell is null
>
>Thank,
>Oscar F.
maybe doing pagedown in the grid if activerow = 10 and then doing a grid.Refresh() .
Also, shouldn't you check if at eof prior to moving the activerow ?
Previous
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