Document components are stored in models (except the root document component). When a document component is added to the tree of document components, it is actually embedded in the model of the containing component.
You embed a document component when you attach it to a hierarchy managed by a document (use TModel::AddComponent). The compound document manages this hierarchy of components, ensuring that models (and their contained data) are easily accessible.
In a more complex compound document you would have more than one component. The second component in the embedding hierarchy is embedded within the model found in the first component.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Generated with WebMaker