RAD Studio VCL Reference
|
Calls the callback Proc for each property value string.
procedure GetStrings(Proc: TGetStrProc);
__fastcall GetStrings(TGetStrProc Proc);
Use GetStrings to execute code for every property value string represented in the TEnumPropDesc object. The callback Proc is called for every value, with the S parameter set to a string that gives the integer value followed by the string representation of that value.
For example, consider a TEnumPropDesc object that represents a color property, with values equal to TColor values. The callback Proc would be called for every built-in color name with strings of the form '255 - clRed'.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|