Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Move Grid Column Programmatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01042712
Message ID:
01042718
Vues:
28
This message has been marked as the solution to the initial question of the thread.
>Is it possible to move a grid column programmatically?
>
>For example, my grid has columns 1, 2, and 3 but I want the columns to appear in order: 1, 3, 2 and I want to set this at run time under program control, not at design time.
>
>This is running under VFP 8.0.
>
>Thanks.


Chaim, the property you need is ColumnOrder, but be aware that what this does is swap the columns, thus if you change column 3 to the first position, your new order would be 3, 2, 1, so you need to do some extra work
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform