|
RAD Studio VCL Reference
|
Provides the enumerated values of the property to a callback procedure.
procedure GetValues(Proc: TGetStrProc);
__fastcall GetValues(TGetStrProc Proc);
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.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|