Color picker.
V: 1.0

Based on:
https://vanilla-picker.js.org/

 

neoColorPicker

Purpose:

Attach a color picker with alpha channel to a Container object

Category:

neoColorPicker

Syntax:

neoColorPicker "objId" thePosition "theInitialColor" theEditorFormat retVar theCallBack

 

objId

Select a Container object

thePosition

Popup position

theInitialColor

Initial color (ie: #345678)

theEditorFormat

Editor format

retVar

Variable to store result

theCallBack

Callback subroutine

 

neoColorPickerSetColor

Purpose:

Set the color picker color to be shown on popup

Category:

neoColorPicker

Syntax:

neoColorPickerSetColor "objId" "theColor"

 

objId

Container object

theColor

Color to set up