Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00403742
Message ID:
00403941
Vues:
13
>
grid.DeleteColumn(<i>nColumnOrder</i>)
Be aware though, that once you've removed a column, the column numbers all get shifted, so what was column 3 before a DeleteColumn(2), will now be column 2.
>
>You could also use
>
grid.RemoveObject("Column2")
or
>
* for each column you want to set order for
>** in this case, set column5 first, column 8 second, remove rest
>WITH grid && needs full object path, but just for the example
>  .Column5.ColumnOrder = 1
>  .Column8.ColumnOrder = 2
>  .ColumnCount = 2
>ENDWITH
>

Thanks! Where do I do that? on the form.refresh(), grid.refresh() or ?
One can acquire everything in solitude but character.
Stendhal (1783-1842)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform