Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wrong with ActiveRow
Message
From
19/07/2005 17:09:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01034016
Message ID:
01034029
Views:
31
This message has been marked as the solution to the initial question of the thread.
>Hi Friends !
>
>My Grid stayed very very slow in multiuser mode when I used the line:
>
>ThisForm.Grid1.SetAll("dynamicbackcolor", ;
> "IIF((ThisForm.Grid1.ActiveRow)%2 = 0,RGB(255,255,0), RGB(255,255,255))", "Column")
>
>In the Microsoft sample was used the line:
>
>ThisForm.Grid1.SetAll("dynamicbackcolor", ;
> "IIF(RECNO()%2 = 0,RGB(255,255,0), RGB(255,255,255))", "Column")
>
>Is there something wrong with the command ActiveRow ?
>
>Thanks in advance
>
>[]´s
>
>Dionísio


Everytime you call ActiveRow, VFP do a COUNT cycle.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform