DesignEditors.TInterfaceProperty.GetComponent

提供:RAD Studio API Documentation

Delphi

function GetComponent(const AInterface: IInterface): TComponent;

C++

HIDESBASE System::Classes::TComponent* __fastcall GetComponent(const System::_di_IInterface AInterface);

プロパティ

種類 可視性 ソース ユニット
function protected
DesignEditors.pas
DesignEditors.hpp
DesignEditors TInterfaceProperty

説明

プロパティエディタで現在編集しているすべてのオブジェクトにある,指定されたオブジェクトを返します。 {{#multireplace:DesignEditors.TInterfaceProperty.GetComponent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:DesignEditors.TPropertyEditor.GetComponent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:DesignEditors.TPropertyEditor.GetComponent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。

プロパティエディタで現在編集しているすべてのオブジェクトにある,指定されたオブジェクトを返します。

GetComponent メソッドを呼び出すと,プロパティエディタで現在編集しているプロパティを備えたオブジェクトにアクセスできます。Index は,プロパティエディタで管理するリスト内の個々のオブジェクトを指定するパラメータです。Index の範囲は 0~ PropCount - 1 です。

GetComponent メソッドを呼び出して,現在編集しているすべてのオブジェクトについて反復処理します。

関連項目