Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: reload a Grid not set Highlight selected row
Message
 
 
To
18/05/2004 12:37:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00904601
Message ID:
00905009
Views:
18
Fabio,

>
>It's not a bug. If you change the RecordSource out from under the grid you are responsible to call the Refresh() to display the new grid content.
>

>
>Obviously i'm not in agreement with this.

And if VFP automatically did the Refresh() on RecordSource_Assign you'd probably call that a bug in another case where you didn't want the refresh to occur until after you'd changed some other attributes of the grid.

As it is the grid has a well defined and understood behavior under this circumstance.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform