Resuscitation of Scott Raney Paint Tools

Sannyasin Brahmanathaswami brahma at
Sat Jun 22 23:07:19 EDT 2019

HH and Bernd

I did the cmd-F on the whole Paint stack, as Hermann originally suggestioned


set the selectedColor2 of me to the mouseColor --<--- add this

This was needed to actually get a color! 

I guess previously Scott had access to  the "selectedColor" somehow in Metacard

Thanks to you both.

The UI is a bit messy, but I want to give a demo of what is possible for a coloring book with  LC versus scripting this whole thing in HTML5 with JS/CSS/HTML. (it would be a nightmare)

Cheers from Kauai


On 6/22/19, 12:38 PM, "use-livecode on behalf of Niggemann, Bernd via use-livecode" <use-livecode-bounces at on behalf of use-livecode at> wrote:

    do what Hermann suggested but add a line to the mouseUp handler
    script of colorPalette of grp "palette" of cd id 1002 of stack 
    on mouseUp
       set the selectedColor2 of me to the mouseColor --<--- add this
       setcolor the selectedColor2 of me
    end mouseUp
    Kind regards
    use-livecode mailing list
    use-livecode at
    Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list