Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 16794, TColorBox component

by Giuseppe Madaffari Email: Anonymous

ColorBox is an enhanced ComboBox that displays a list of colors for you to select from. It also provides a "Custom" item to show a Color Dialogs to the user.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Kylix, Version 1.0  to 2.0 253 downloads
Copyright: No significant restrictions

Size: 4,962 bytes
Updated on Tue, 23 Oct 2001 11:31:17 GMT
Originally uploaded on Tue, 23 Oct 2001 11:31:16 GMT
SHA1 Hash: 87BFC618211212B786D5B0CD0B320520CFC0E18D
MD5 Hash: 2B6193DFCAABD042515A13F93539028E

    Explore the files in this upload

ColorBox 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

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03