Color names for variations of gray color
Posted: Sun Sep 08, 2013 12:34 am
..........
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
Code: Select all
setProperty x11Gray[theColorProperty] theName
repeat while the last char of theName is a number
put the last char of theName before theNum
delete the last char of theName
end if
put theNum*255/100 into myColorItem
put "set" && theColorProperty && "of the target to" && myColorItem,myColorItem,myColorItem into myScript
do myScript
end setPropety
Code: Select all
set the x11Gray["backColor"] of grc 1 to gray10