Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making grid highlighting match the current record
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00090597
Message ID:
00090826
Views:
21
>I have a data entry form on Page 1. On page 3 I have a grid. I have some code in the grid init which highlights the current row when I click on the grid. But I'd also like the correct row in the grid to be selected when I go to Page 1 and select a record, then click on Page 3. I thought I should do this in the click event for Page 3, but I'm not sure if anything I reference in the grid at that point is valid since when I click on the page I'm not actually in the grid. Does anybody have any hints or tips with this?
>
>Thanks,
>
>Sylvia

Assuming that you are using .DynamicBackColor, I believe that you must do a grid Refresh to force evaluation of the the code in the above mentioned property.

Steve
Previous
Reply
Map
View

Click here to load this message in the networking platform