DesignEditors.TInterfaceProperty.GetComponent
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 |
説明
プロパティエディタで現在編集しているすべてのオブジェクトにある,指定されたオブジェクトを返します。
DesignEditors.TInterfaceProperty.GetComponent は DesignEditors.TPropertyEditor.GetComponent を継承しています。以下の内容はすべて DesignEditors.TPropertyEditor.GetComponent を参照しています。
プロパティエディタで現在編集しているすべてのオブジェクトにある,指定されたオブジェクトを返します。
GetComponent メソッドを呼び出すと,プロパティエディタで現在編集しているプロパティを備えたオブジェクトにアクセスできます。Index は,プロパティエディタで管理するリスト内の個々のオブジェクトを指定するパラメータです。Index の範囲は 0~ PropCount - 1 です。
GetComponent メソッドを呼び出して,現在編集しているすべてのオブジェクトについて反復処理します。