DesignIntf.IProperty.GetValues
Delphi
procedure GetValues(Proc: TGetStrProc);
C++
virtual void __fastcall GetValues(System::Classes::TGetStrProc Proc) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IProperty |
Description
Provides the enumerated values of the property to a callback procedure.
The Object Inspector calls GetValues when the drop-down button is clicked to show enumerated values. Property editors that return paValueList from the GetAttributes method implement GetValues to call the Proc parameter for every string that can represent a valid enumerated value. Even if the GetAttributes method does not return paValueList, property editors for enumerated types should still implement GetValues to enumerate all possible values.