Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Re-Sort Column and Rules for DoScroll ?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00953040
Message ID:
00953041
Views:
11
This message has been marked as the solution to the initial question of the thread.
Angie,

Did you try to move record pointer after changing order?
SET ORDER TO TAG whatever
LOCATE
>
>I have been working on resorting columns in a grid. If you re-click the header, the tag order is toggled between ASC and DESC.
>
>On a demo grid, there are two items in the table. When the order is toggled, the second record in the grid shows at the first position and the first record cannot be seen unless you scroll upwards (backwards?) if you see what I mean :)
>
>What is the best rule of thumb to use with DoScroll() in this type of circumstance? Any example code would greatly help.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform