RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.AllowActiveDoc Property

Specifies whether the OLE container supports the IOleDocumentSite interface.

Pascal
property AllowActiveDoc: Boolean;
C++
__property Boolean AllowActiveDoc;

Set AllowActiveDoc to true to specify that the OLE container can house an ActiveDoc (DocObject). Set AllowActiveDoc to false to limit the OLE container to hosting OLE controls that use the more usual interfaces such as IOleClientSite. ActiveDoc-enabled controls have a slightly different border. Set AllowActiveDoc to false to maintain a consistent appearance in forms that do not need to support the IOleDocumentSite interface. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!