The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



FindColorEntry


Unit: SDL_colsel
Class: TColSel
Declaration: function FindColorEntry (color: TColor): integer;

The method FindColorEntry searches the Colors array of the component for the color color and returns its index (1 to COLSEL_MAXCOLORS). If color is not contained in the color array a zero value is returned.



Last Update: 2023-Dec-14