| Color Picker | |||
|
[Table of Contents] [Previous: Windows and Dialogs]
Feature Owner: Stuart Parmenter A color picker is a frame that contains a graphical representation of multiple colors. The color picker is specified using the colorpicker tag. The attribute type is used to specify the type of color picker such as swatch. If this attribute is omitted, the color picker will be a swatch. [Note: The only color picker currently implemented is a swatch.]
Palettes can be chosen using the palettename attribute. Currently supported are standard which is a 70 color palette and web which is the 216 "web safe" palette. If this attribute is omitted, you will get the standard palette. [Note: It is currently not possible to change colors or add custom colors.]
When a color is selected, the color attribute is set containing the color that was selected.
[Table of Contents] [Previous: Windows and Dialogs] Contact us at xptoolkitstaff@netscape.com. Want to complain about the new documentation? Email Dave Hyatt.
|