Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid column order
Message
De
21/06/2003 06:30:37
 
 
À
20/06/2003 14:17:29
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00802359
Message ID:
00802560
Vues:
26
Hi Scott,

If original order is column index order:
PROCEDURE grid.RestoreColumnOrder
 PRIVATE iCol
 FOR iCol = 1 TO This.columnCount
   This.Columns[m.iCol].ColumnOrder=m.iCol
 ENDFOR
ENDPROC
If original order is defined on a Class, not on SCX:
PROCEDURE grid.RestoreColumnOrder
 PRIVATE iCol
 FOR iCol = 1 TO This.columnCount
   This.Columns[m.iCol].ResetToDefault('ColumnOrder')
 ENDFOR
ENDPROC
Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform