Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting A Reference To An Object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01036739
Message ID:
01036773
Vues:
7
I tried

x = SYS(1272, This.Name)

And it errored out




>See if you can use SYS(1272).
>
>>I want to retreive a reference to a container from any object in the
>>container.
>>
>>If the container had a grid, and in the textbox in column 1, I would use:
>>
>>
>>this.parent.parent.parent.Parent
>>
>>
>>But if I had a command button on the same container, it would simply
>>be
>>
>>this.parent
>>
>>
>>Is there any way to get a reference to the container regardless of where I'm calling
>>ir from?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform