[REBOL] Re: rgb color selector error (/data = none)
From: g::santilli::tiscalinet::it at: 2-Aug-2000 19:09
Hello [RChristiansen--pop--isdfa--sei-it--com]!
On 01-Ago-00, you wrote:
R> One problem: If you do not move all three sliders initially
R> before clicking on the frame, the script deals with a /data
R> value of "none" and returns an error. Can someone help me on
R> this one? How can I preset the /data value for a slider to
R> zero so that it doesn't return "none" ?
Change:
red: slider 10x259 [red/color: ...
to:
red: slider 10x259 0 [red/color: ...
etc. That should do the job. My slider does not suffer from this
problem, but the value is in /current, not /data (just in case you
downloaded it and was wondering :-).
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/