Skip to content

OnChange - cWebColorPicker

Called when the user changes the color by clicking the map, dragging the slider or clicking a palette item

Type: Event

Parameters

Parameter Type Description
sColor String Selected color

Syntax

Procedure OnChange String sColor

Description

This event is called when the user changes the color by clicking the map, dragging the slider or clicking a palette item.

Set pbServerOnChange to True for the server side even to fire.

Changing the color programmatically (using psValue) will not trigger this event.