Graphics.GetColorValues
From RAD Studio VCL Reference
Contents |
Delphi Information
From Graphics.pas
procedure GetColorValues(Proc: TGetStrProc);
Unit: Graphics
Type: procedure
Visibility: public
C++ Information
From Graphics.hpp
void __fastcall GetColorValues(TGetStrProc Proc);
Unit: Graphics
Type: function
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.