TOleContainer

Now that you have some ActiveX OLE background under your belt, take a look at Delphi's TOleContainer class. TOleContainer is located in the OleCntrs unit, and it encapsulates the complexities of an OLE Document and ActiveX Document container into an easily digestible VCL component.

Note

If you were familiar with using Delphi 1.0's TOleContainer component, you can pretty much throw that knowledge out the window. The 32-bit version of this component was redesigned from the ground up (as they say in the car commercials), so any knowledge you have of the 16-bit version of this component might not be applicable to the 32-bit version. Don't let that scare you, though; the 32-bit version of this component is of a much cleaner design, and ...

Get Borland® Delphi™ 6 Developer's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.