DesignEditors.TWideStringProperty.GetValues
Delphi
procedure GetValues(Proc: TGetWideStrProc); reintroduce; virtual;
C++
HIDESBASE virtual void __fastcall GetValues(Designintf::TGetWideStrProc Proc);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TWideStringProperty |
Description
Provides the enumerated values of the property to a callback procedure.
DesignEditors.TWideStringProperty.GetValues inherits from DesignEditors.TPropertyEditor.GetValues. All content below this line refers to DesignEditors.TPropertyEditor.GetValues.
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. The GetValues method of TPropertyEditor does nothing. Property editors that return paValueList from the GetAttributes method should override 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 override GetValues to enumerate all possible values.