

$BTNBORDER r,g,b: specifies the color of the border of a palette button in terms of r, g, b values ( 0.255).$BTNHEIGHT value: specifies the pixcel height of each color palette button ( value is an integer).$BTNWIDTH value: specifies the pixel width of each color palette button ( value is an integer).$BTNDIST value: specifies the pixel distance between the color palette button tiles ( value is an integer).$COLS value: defines the number of columns used to display the palette.in total, 2*n+1 palette entries are created. Each one of the two gradient consists of n steps, i.e.
FREE PASCAL TCOLOR SERIES

r,g,b colorname: Defines the next entry of the color palette by means of its red-green-blue components (0.255).# and between "color" and "black", i.e., in total, there are 2*steps+1 color boxes.Ī set of keywords is defined to identify the palette file entries: # The specified steps are applied to the transitions between "white" and "color" # creates color gradient white -> color -> black with specified steps The palette files are simple text files according to this example (see also Default.pal in the component folder): In addition, a custom palette can be loaded from a file by calling the LoadPalette method. pkWebSafePalette2: another set of web-safe colors.pkWebSafePalette: a set of web-safe colors as defined by a wikipedia article.pkGradientPalette: "all" colors nicely arranged use GradientSteps to define the horizontal resolution.
FREE PASCAL TCOLOR PLUS
pkExtendedAndSystemPalette: the extended colors plus the system colors.pkStandardAndSystemPalette: the standard colors plus the system colors.pkSystemPalette: the 25 system colors defined by the graphics unit.pkExtendedPalette: the same, but extended by the 4 extra colors clMoneyGreen, clSkyBlue, clCream, clMedGray.pkStandardPalette: the 16 standard color defined by the graphics unit.The components supports a series of built-in palettes as determined by the PaletteKind property: This mode is a left-over from a previous version of the component and should not be used any more. Both events must occur at the same location. pmDefault: The color is selected when the mouse button goes down, and the event is generated when the mouse button goes up.pmContinuous: The color is selected, and the event is generated, while the mouse moves and when the mouse button goes up.


