Hi Mark, Am 23.09.2013 um 18:35 schrieb Mark Wieder <mwie...@ahsoftware.net>:
> Klaus- > Monday, September 23, 2013, 7:57:07 AM, you wrote: > >> Hi Bernd, > >> Am 23.09.2013 um 16:30 schrieb BNig <niggem...@uni-wh.de>: > >>> Hi Klaus, >>> >>> on mouseUp >>> put the colorOverlay of btn 1 into tArray >>> put 0 into tArray["opacity"] >>> set the colorOverlay of btn 1 to tArray >>> end mouseUp > >> ??? >> If COLOR has been set before, then COLOR will be set again? > > You can't set the colorOverlay["color"] to empty because "empty" isn't > a color. The default color for a new button is "0,0,0" (white). So if > you want to keep the original color of the button, use Bernd's > solution of setting the button's opacity (the default for a new button > is 0). If you don't care about saving the original color then you can > set the button's color to "0,0,0" and that will return it to its > virgin white state. AHA! :-D Thank you, looks like I was completely wrong until now! 8-) > -- > -Mark Wieder > mwie...@ahsoftware.net Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de _______________________________________________ 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