Unit cpColorBox

Classes

TcpColorBox -
TcpPanel -

Functions

Register -

Types

TColorchangeevent
TForeorBackColor

Constants

CM_CHANGECOLOR

Variables


Functions


procedure Register;


Types


TColorchangeevent = procedure (Sender:TObject; ForeorBackColor:TForeorBackColor; NewColor: Tcolor) of object

TForeorBackColor = (wcFore,wcBack);

Constants

CM_CHANGECOLOR = WM_USER + 2000

v 1.0 : 22-04-1998 Freeware component for Delphi 3 by Christian Poisson. Send any comments to christian.poisson@hol.fr. Forecolor is defined using the left button and Backcolor using the right button. Doubleclick opens a colordialog component (Left Doubleclick and Right Doubleclick are differenciated [see TcpPanel component]) Other property : DialogOptions-->Options of the colordialog component New event : OnClickColorChange.

Variables