Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Control
Message
 
To
25/04/2006 14:23:51
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01116455
Message ID:
01116458
Views:
11
>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
Map
View

Click here to load this message in the networking platform