Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting by columns in a grid
Message
 
 
À
05/11/2004 10:57:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00958466
Message ID:
00958526
Vues:
16
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform