Hello [EMAIL PROTECTED]!

On 02-Ago-00, you wrote:

 R> Making this change only made the slider /data value change
 R> from 0 to 1 when I move the slider and the /data value doesn't
 R> return to 0.

Yup, sorry, I was too tired yesterday. :-) If you don't want to
check for none then you may want to try my slider style.

Otherwise:

    rgb: frame 50x50 [
        rgb/color: to-tuple reduce [
            any [red/data 1] - 1
            any [green/data 1] - 1
            any [blue/data 1] - 1
        ]
        show rgb
    ]

assuming /data goes from 1 to 256 (so you can solve your problem
with black being 1.1.1).

Regards,
    Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

Reply via email to