Hi friends, no idea anyone? Sorry, I am a but in a hurry with this...
Do I really need to set the complete coloroverlay to empty? Can't think so... Thanks in advance! Am 23.09.2013 um 15:46 schrieb Klaus major-k <kl...@major-k.de>: > Hi Craig, > > Am 23.09.2013 um 15:39 schrieb dunb...@aol.com: > >> Klaus. >> >> Something not right, all right. > > You bet! > >> I made a new button "b3", and put this in a script somewhere: >> >> on mouseUp >> get the coloroverlay["color"] of btn "b3" >> if it = "" then >> answer "Yep, empty, all right" >> end if >> >> combine it with return --just to make sure it is an ordinary, not array, >> variable >> if it = "" then >> answer "Yep, empty, all right" >> end if >> set the coloroverlay["color"] of btn "b3" to "" >> end mouseUp > > I made abutton, set its coloroverlay color to RED and added this scriupt: > on mouseUp > set the coloroverlay["color"] of me to "" > end mouseUp > > -> Execution error! :-/ > >> The variable "it" is always empty, but the property cannot be set to empty. >> It is possible to set it, as you know, to anything else, inlcuding "0". > > Setting it to 0 results in a WHITE overly? > Sorry, still clueless :-D 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