Information générale
Catégorie:
Programmation Orientée Object
Versions des environnements
>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 ?
Précédent
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