HH wrote:

" replace with selectedColor2   
    Save and you are done."

I tried that originally. Does not work.

on mouseUp
  setcolor the selectedColor2 of me
end mouseUp

# calls

setColor which

"which" is empty

"of me" 

# calls

colorPalette "Color Map"

It would seem you need to change the selectedColor to selectedColor2 in the 
control "Color Map" but

"colorPalette"  which also is  only for internal use.

I can see it "Color Map" on screen, select it. But you can't get the inspector 
on it, opens up "No Object Selected" or set a custom property on it.... 

He is exposing "deep engine" code and objects we can’t easily leverage in 
today's IDE

BR


On 6/22/19, 9:26 AM, "use-livecode on behalf of hh via use-livecode" 
<use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

    This is a custom property name only. So
    
    do cmd-F in the PaintTools stack
    
    search for selectedColor
    in "this stack and its stack files"
    
    replace with selectedColor2
    
    Save and you are done.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to