Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wierd Grid Refresh + other grid question
Message
From
21/05/1997 14:17:54
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00033101
Message ID:
00033141
Views:
39
>1) In some headers of my grid I have added click event code to SET ORDER TO the order indicated by the ControlSource of the column I'm in. I do a simple SET ORDER TO followed by a grid.refresh
>
>If I do this with the topmost row of the grid highlighted, it works fine. However, when I have highlighted a row OTHER THAN the topmost, my record pointer changes and I'm no longer on the record that I was at before I did the refresh!

1) save the record number
2) set the new order
3) refresh the display
4) go to the saved record number

/Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform