Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid column order not behaving properly
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid column order not behaving properly
Divers
Thread ID:
00180072
Message ID:
00180072
Vues:
47
My columns are not displaying in order, but the header captions are.

I have a grid attached to a table with fields 1 thru 11. I want field 11 to be displayed as the first column in the grid.

In the form properties, I have set the columnorders so that column1, which has controlsource tablename.field11, is in columnorder 1.

Additionally, in the form init event, I have the following:

with this.grid
.recordsource = tablename
.columncount = 11
.column1.controlsource = tablename.field11
.column1.controlorder = 1
.column2.controlsource = tablename.field1
.column1.controlorder = 2

(and so forth)

endwith

And nonetheless, field 11 is being displayed as the 11th column.

Any suggestions would be appreciated.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform