Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddObject (,,,someParameter)
Message
De
01/09/1998 10:56:21
 
 
À
01/09/1998 10:51:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00131890
Message ID:
00131896
Vues:
32
>Hi all !
>
>I'm having some troubles using AddObject on a container. I want to pass parameters to the init function but it don't seems to work:
>
>MyObject.AddObject ("MYClass","MYClass",,MyParam)
>
>When I step on the init method of MYClass, the param is not set (= .F.)
>
>Somebody has an idea ?
>
>Thanks you for your time,
>Banania
>
>
>(SL@TC2S.BE)

Remove extra comma in Addobject():
MyObject.AddObject ("MYClass","MYClass",MyParam)
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform