FMX.Types._di_IContainerObject
C++
typedef System::DelphiInterface<IContainerObject> _di_IContainerObject;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | FMX.Types.hpp | FMX.Types | FMX.Types |
Description
Represents the DelphiInterface of IContainerObject.
You can use _di_IContainerObject to refer to a container object in C++ code.
The following code snippet shows how to use the FMX.Types.IContainerObject.GetContainerHeight method over a TForm:
_di_IContainerObject AInterface;
if (Form2->GetInterface(AInterface)) {
ShowMessage(AInterface->GetContainerHeight());
}