Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddObject
Message
De
06/02/2006 15:18:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01094071
Message ID:
01094099
Vues:
13
>>>>>>When I use AddObject I have to provide a class for a new object. Can it be a class from a different vcx?
>>>>>>
>>>>>>Thanks
>>>>>
>>>>>Use NewObject in stead!
>>>>And how NewObject adds an object to the form's object colleciton?
>>>
>>>
>>>Not function, method.
>>>The same way as AddObject :o)
>>>thisform.NewObject("objName", [ClassName], [MyOtherClassLib.VCX])
>>
>>Function/method... Whatever...!
>>
>>Kidding aside, thanks for the corrections.
>
>No correction. When I first read the question my first thought was about NewObject() function, but when I read Mark's answer I realise that He wants to add a new object in a form :o)

OK. I actually wrote function, which I thought you had spotted.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform