Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject vs AddObject
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00212204
Message ID:
00212215
Views:
28
>>>I am new. Please be patient.
>>>
>>>Briefly, what is the difference between CreateObject and AddObject.
>>>
>>>Thanks,
>>>
>>>Vin
>>
>>Briefly, the difference is that AddObject can be used to add an object to container and CreateObject covers more common case: you create an object and may or may not associate it with some other object (container or not container). Normally, you should associate it, except the case when object is Local.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>This is correct. CreateObject does not have to be associated with a Container.
>
>Pierre
>demester@VisualFoxPro.com

Sorry, I don't quite understand your reply. What is 'correct'?
Before typing your answer, notice that I said 'normally'.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform