API:DesignEditors.TSetProperty.GetProperties
Delphi
procedure GetProperties(Proc: TGetPropProc); override;
C++
virtual void __fastcall GetProperties(Designintf::TGetPropProc Proc);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TSetProperty |
説明
あるプロパティのサブプロパティを,コールバック手続きに提供します。
DesignEditors.TSetProperty.GetProperties は DesignEditors.TPropertyEditor.GetProperties を継承しています。以下の内容はすべて DesignEditors.TPropertyEditor.GetProperties を参照しています。
あるプロパティのサブプロパティを,コールバック手続きに提供します。
オブジェクトインスペクタは,プロパティを展開してサブプロパティが表示されたときに,GetProperties メソッドを呼び出します。TPropertyEditor の GetProperties メソッドは何もしません。GetAttributes メソッドで paSubProperties を返すプロパティエディタでは,GetProperties メソッドをオーバーライドして適切なプロパティエディタを作成し,その IProperty インターフェースを各サブプロパティの Proc パラメータに渡さなければなりません。