ImageEn, unit iexColorButton

TIEColorButton


Declaration

TIEColorButton = class(TCustomControl);


Description

A simple component that displays a color and can be clicked to select another color (using the standard VCL color dialog).




Examples

// Set current color of button
IEColorButton1.SelectedColor := clRed;

// Use color specified by button
ImageEnView1.CurrentLayer.FillColor := IEColorButton1.SelectedColor;

Methods and Properties


Properties
Published Property  DisabledColor
Published Property  EnableTransparency
Published Property  FrameColor
Published Property  SelectedColor
Published Property  CustomColors

Methods
Public Method  PromptForColor


Events

Event  OnChange
Event  OnSelectColor
Event  OnGetPalette