DwtColorPicker: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Zimbra AjaxTk]]->[[DHTML Widget Toolkit]]->[[ | [[Zimbra AjaxTk]]->[[DHTML Widget Toolkit]]->[[Widgets]] | ||
<code>DwtColorPicker(parent, className, posStyle)</code> | <code>DwtColorPicker(parent, className, posStyle)</code> |
Revision as of 06:16, 5 April 2006
Zimbra AjaxTk->DHTML Widget Toolkit->Widgets
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