DwtColorPicker: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Zimbra AjaxTk]]->[[DHTML Widget Toolkit]]->[[Widget]] | |||
<code>DwtColorPicker(parent, className, posStyle)</code> | <code>DwtColorPicker(parent, className, posStyle)</code> | ||
;<code>parent</code> : the widget parent, can be a DwtShell (or a DwtMenu????) | ;<code>parent</code> : the widget parent, can be a DwtShell (or a DwtMenu????) |
Revision as of 06:16, 5 April 2006
Zimbra AjaxTk->DHTML Widget Toolkit->Widget
DwtColorPicker(parent, className, posStyle)
parent
- the widget parent, can be a DwtShell (or a DwtMenu????)
className
- the name of a css style class to be assigned to the widget
posStyle
Overview
Creates a color picker displaying "Web safe" colours. Instances of this class may be used with DwtMenu to create a ColorPicker menu. Clicking on a color cell generates a DwtSelectionEvent the detail attribute of which contains the color string associated the cell on which the user clicked