DesignEditors.TComponentProperty.GetValues

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure GetValues(Proc: TGetStrProc); override;

C++

virtual void __fastcall GetValues(System::Classes::TGetStrProc Proc);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
DesignEditors.pas
DesignEditors.hpp
DesignEditors TComponentProperty

説明

列挙されたプロパティの値を,コールバック手続きに提供します。

DesignEditors.TComponentProperty.GetValues は DesignEditors.TPropertyEditor.GetValues を継承しています。以下の内容はすべて DesignEditors.TPropertyEditor.GetValues を参照しています。

列挙されたプロパティの値を,コールバック手続きに提供します。

オブジェクトインスペクタは,ドロップダウンボタンがクリックされたときに GetValues メソッドを呼び出して,列挙されたプロパティ値を表示します。TPropertyEditorGetValues メソッドは何もしません。GetAttributes メソッドで paValueList を返すプロパティエディタでは,GetValues をオーバーライドして,有効な列挙値を表すことができるすべての文字列について Proc パラメータを呼び出します。GetAttributes メソッドが paValueList を返さない場合でも,列挙型のプロパティエディタは,GetValues メソッドをオーバーライドして値を列挙しなければなりません。

関連項目