FMX.Types._di_IControl

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef System::DelphiInterface<IControl> _di_IControl;

Properties

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

Description

Represents the DelphiInterface of IControl.

You can use _di_IControl to refer to a control object in C++ code.

The following code snippet shows how to use the FMX.Types.IControl.SetVisible method over a TButton:

 _di_IControl AInterface;
 if (Button4->GetInterface(AInterface)) {
	 AInterface->SetVisible(false);
 }

See Also