Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid--which column do I have?
Message
De
25/06/1999 08:44:48
 
 
À
24/06/1999 09:50:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00233472
Message ID:
00233898
Vues:
27
>In VFP 6.0, if I have an object reference to a grid column, is there any property that can tell me which column I have? If the columns are movable, the ColumnOrder property is not useful (since it gives current position which changes when the user moves the column). I could use the column name, if necessary, but this solution is not ideal because it imposes a requirement on the naming of columns.
> Thanks, Chaim

Do you mean the third visible column, or the third absolute column? Either way you could tackle this by adding an array property to your grid and populating it at init with two dimensions: one with column name, and one with column order. After this, whenever you have a column name, you can look up its original order in your array.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform