Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Method as Column ControlSource
Message
 
À
08/04/2013 17:13:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Divers
Thread ID:
01570424
Message ID:
01570480
Vues:
59
Hi

That is what I thought but I have not been able to make it work. So I will have to check and see what else must be wrong.

Thanks,
Simon

>>Ho
>>
>>I know I have done this before but I have forgotten how to use a Method as the ControlSource for a grid column. I want to have a custom method in the grid that I can use to supply the text to display in the grid column. Since the text cannot simple be created in one line I wanted to set the ControlSource to something like "This.parent.GetTheText()" but I always get an error that the method "GetTheText()" does not exist. Perhaps "This" is not usable in the expression so I wondered how this can be done.
>
>The expression used is relative to the column, i.e. in it "this" means "this column". Start from there when counting parents.
Simon White
dCipher Computing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform