Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object parameters
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00914752
Message ID:
00914760
Vues:
9
I thought I could return a variable of whatever type, including an object reference


>Addobject() is a method. It returns .t. by default, or any other value if you add there the code for return.
>
>>If I have a parameter object in a form, and pass it for the additon of a container object
>>
>>loParmeter.someproperty
>>
>>loParameter = .AddObject('container1', 'container', loParameter)
>>
>>? loParameter.someproperty
>>
>>I am told that loParameter is not an object
>>
>>the Init() for the contaner accepts the object and returns it as an object
>>
>>RETURN loParameter
>>
>>the debugger shows that it is an object
>>
>>what am I dong wrong?
>>
>>TIA
>>
>>Al
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform