Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting row change
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00063650
Message ID:
00064479
Views:
47
Mark,

>I too have created a subclassed grid with this feature. Just curious -- do you compare the Before and After ActiveGridRow property value or the RecNo() of the Grid's record source? The more records the source has the slower the grid performs using ActiveGridRow. So, I changed to storing RecNo() in Before and compare to RecNo() After. Works much faster.

Actually looking back at the code, it doesn't actually worry about it, all I do is move the highlighting shape to the new RelativeRow position, which isn't the exact same thing you are trying to accomplish. I have seen that ActiveRow performance really sucks on large tables and I think most folks use recno().
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform