TColorBox CLX Component ======================= INSTALLATION GUIDELINES ----------------------- To install the component you have just downloaded, you need to follow few steps that I'll show you in detail. 1. Copy the colorbox.tar.gz file to your preferred component directory 2. from the terminal window, write [...]$ tar -xzvf colorbox.tar.gz and press Enter. 3. a new directory "ColorBox" will be created under the current one and all the files compressed will be extracted from the tarball into that directory 4. Open Kylix 5. Select File|Open... 6. into the Open dialog select "Kylix package (*.dpk)" from the File Type listbox 6. from the Open dialog select the ColorBox dir and then double-click over ColorBox.dpk If you followed all the above steps, you should now have the Package dialog in front of you. Select "Install" and wait for the compilation. After few seconds a message dialog should appear, confirming that a new component has been installed. COMPONENT DESCRIPTION --------------------- The component you have just installed is a ComboBox populated by color codes to let the user select a color. Dropping down the combo, will display a list of the colors defined by Kylix (i.e. system colors and custom colors), followed by their literal names (the name you use in your code, e.g. clWhite). The component also let you select a custom color, and a Color Dialog will be displayed in order to pick any color you like. The use is just like any other combo box, with few additional properties: - CustomColor: the current custom color picked by Color Dialog - SelectedColor: the value (of type TColor) of the color currently selected - ShowCustomColor: to enable/disable the display in the combo of the "Custom..." item COPYRIGHT AND CONTACT INFO -------------------------- Author: Giuseppe Madaffari Copyright: © 2001 by Giuseppe Madaffari. All rights reserved. Version: 1.0 License: you can freely use and distribute the included code for any purpouse, but you cannot remove the copyright notice from the source files. Send me any comment and update, they are really appreciated. Contact: gmadaffari@infomedia.it www.programmers.net/artic/Madaffari web.tiscali.it/gmadaffari/