FMX.Types._di_IRoot

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef System::DelphiInterface<IRoot> _di_IRoot;

Properties

Type Visibility Source Unit Parent
typedef public FMX.Types.hpp FMX.Types FMX.Types

Description

Represents the DelphiInterface of IRoot.

You can use _di_IRoot to refer to a root object in C++ code.

The following code snippet shows how to use the FMX.Types.IRoot.GetObject method over a TForm:

TFmxObject* AObject;
 _di_IRoot AInterface;
 if (Form2->GetInterface(AInterface)) {
	 AObject = AInterface->GetObject();
 }

See Also