RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.GetColorValues Function

Passes the name of every predefined color constant to a callback function.

Pascal
procedure GetColorValues(Proc: TGetStrProc);
C++
GetColorValues(TGetStrProc Proc);

Graphics

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!