James,
Yeah I didn't have time to pull the exact code out of my header subclass that handles sorting. It's actually more complex because I decided to keep the row in the same relative location if at all possible so it involves some DoScroll() calls as well.
But GOTOs and Refresh()es are required to get it to look right.
>My example was incomplete; I neglected to show the REFRESH that was there.
>
>Unfortunately, that is not sufficient. I ended up with:
>
> INDEX ON bla-bla-bla
> GOTO TOP
> THIS.REFRESH
>
> GOTO lnRecno
> THIS.REFRESH
>
>This seems to be work, and reliably, but only with
both GOTOs and
both REFRESHs.