Vcl.OleCtrls.TEnumPropDesc.GetStrings
Delphi
procedure GetStrings(Proc: TGetStrProc);
C++
void __fastcall GetStrings(System::Classes::TGetStrProc Proc);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | TEnumPropDesc |
Description
Calls the callback Proc for each property value string.
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'.