Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding object to object with SCATTER
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00943635
Message ID:
00943645
Vues:
20
This message has been marked as the solution to the initial question of the thread.
I would do this way. It still two lines but no extra object is created
FUNCTION populate
    THIS.AddProperty('oData', Null)
    SCATTER MEMO NAME THIS.oData
ENDFUNC
>If I want to populate an object property with an object using SCATTER NAME, do I need to do it like this:
>
>
>FUNCTION populate
>  SCATTER MEMO NAME oDataGathered
>  THIS.AddProperty('oData',oDataGathered)
>ENDFUNC
>
>
>Or is there a way to add and populate it at the same time???
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform