[Laszlo-user] Adding event handlers to color picker
Henry Minsky
henry.minsky at gmail.com
Tue Oct 9 11:09:25 PDT 2007
If you make the color picker send an event, you can register some other
guy to trigger on it, one way would be to use the "reference" attribute option
on the handler in your other component:
<colorpicker id="mycolorpicker"/>
<myothercomponent>
<handler name="onnewcolor" reference="mycolorpicker"/>
</myothercomponent>
Then make sure that colorpicker sends a "onnewcolor" event
when you change something.
On 10/9/07, Mike Pence <mike.pence at gmail.com> wrote:
> So, I fortunately found Henry's color picker
> (http://www.openlaszlo.org/pipermail/laszlo-user/2005-March/000437.html)
> and I want to have another component (so nice to be talking in
> components -- freakin' Rails!) notified when the color selection has
> changed.
>
> What is the recommended approach for this?
>
> Mike Pence
> http://mikepence.wordpress.com
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-user
mailing list