Vcl.Graphics.GetColorValues
Delphi
procedure GetColorValues(Proc: TGetStrProc);
C++
extern DELPHI_PACKAGE void __fastcall GetColorValues(System::Classes::TGetStrProc Proc);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | Vcl.Graphics.pas Vcl.Graphics.hpp | Vcl.Graphics | Vcl.Graphics | 
Description
Passes the name of every predefined color constant to a callback function.
Call GetColorValues to execute a callback for every TColor constant defined in the application. The Proc parameter is the callback function that is called for every color constant name.
Note: To convert the strings that are passed to the callback into the TColor type, use the IdentToColor function.