Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject vs AddObject
Message
 
To
26/04/1999 13:09:33
Bhrugvish Vin
Northrop Grumman Information Technology
Atlanta, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00212204
Message ID:
00212223
Views:
21
>I am new. Please be patient.
>
>Briefly, what is the difference between CreateObject and AddObject.
>
>Thanks,
>
>Vin


CreateObject() creates a stand alone object that may or may not be a container for other objects. AddObject() adds an object to a container object. Objects created with CreateObject() are independent objects while objects created with AddObject() are fully owned by the container and therefore will also die with the container.

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Previous
Reply
Map
View

Click here to load this message in the networking platform