Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Properties
Message
De
28/04/2004 14:29:09
 
 
À
28/04/2004 14:06:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00899043
Message ID:
00899064
Vues:
18

If I programmatically change ColumnOrders, I can pull the proper index by:

lnColumn = This.Columns[This.ActiveColumn].ColumnOrder
This.Columns[lnColumn]


My message is not clear ?

If you have 3 columns CL1,CL2,CL3
Start
CL1.ColumnOrder = 1
CL2.ColumnOrder = 2
CL3.ColumnOrder = 3
programmatically change 
CL1.ColumnOrder=3
you have this result
CL1.ColumnOrder = 3
CL2.ColumnOrder = 2
CL3.ColumnOrder = 1
NOW, if
This.ActiveColumn is 3 the active column is CL1
but
This.Columns[This.ActiveColumn] is CL3
If you change the ColumnOrder value,
the expression This.Columns[This.ActiveColumn] it do not have meant.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform