Reference Codebot.Forms.ColorDialog.pas
Part of the Codebot Controls package
The Codebot.Forms.ColorDialog unit defines TAdvancedColorDialog, which is a component that shows a dialog for picking a color and its opacity. The dialog uses the hue, saturation, and alpha pickers, along with a grid of color swatches. The unit also includes routines that convert a color to and from text written in the Delphi, HTML, and CSS styles.
Items 44 items
| Name | Kind | Line |
|---|---|---|
| ColorToDelphiText | function | 210 |
| ColorToHtmlText | function | 213 |
| ColorToRgbaText | function | 215 |
| TAdvancedColorDialog | class | 182 |
| Create | constructor | 192 |
| Execute | function | 194 |
| Alpha | property | 201 |
| Color | property | 199 |
| ColorValue | property | 196 |
| CustomColorsFile | property | 206 |
| Title | property | 203 |
| TAdvancedColorDialogForm | class | 104 |
| Create | constructor | 162 |
| DoShow | procedure | 159 |
| LoadCustomColors | procedure | 164 |
| SaveCustomColors | procedure | 166 |
| ColorValue | property | 169 |
| CustomColorsFile | property | 172 |
| TColorSlideMode | enum | 102 |
| csmRgb | enum value | 102 |
| csmHsl | enum value | 102 |
| TColorSwatchGrid | class | 32 |
| CellRect | function | 69 |
| Create | constructor | 61 |
| Draw | procedure | 58 |
| IndexAt | function | 67 |
| MouseLeave | procedure | 57 |
| MouseMove | procedure | 54 |
| MouseUp | procedure | 55 |
| SetCellSize | procedure | 65 |
| SetColors | procedure | 63 |
| Colors | property | 73 |
| Columns | property | 75 |
| Count | property | 71 |
| FitWidth | property | 78 |
| OnSelect | property | 84 |
| OnSwatchRightClick | property | 86 |
| Selectable | property | 82 |
| Selected | property | 80 |
| TColorTextMode | enum | 101 |
| ctmDelphi | enum value | 101 |
| ctmHtml | enum value | 101 |
| ctmRgba | enum value | 101 |
| TextToColor | function | 219 |