Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A reference to the current column in a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00147795
Message ID:
00147802
Vues:
46
Jim:

That doesn't seem to work, as far as I know and tested ActiveColumn is a property that holds the column number, so this.parent.myGrid.ActiveColumn.Name
returns a syntax error. Any other option?

>
>Yeah, don't use the column number, use its name instead;
>
>
>
>this.parent.myGrid.setfocus()
>lcColumn=this.parent.myGrid.ActiveColumn.Name
>loColumn=EVALUATE("this.parent.myGrid." + lcColumn)
>*--Now I have a reference to the column
>
>
Jorge Flores
From the Amigo Country
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform