On Fri, Aug 16, 2013 at 12:57 PM, Jim Lambert <[email protected]> wrote:
> > get the backcolor of someControl as {colorName | RGBcolor | HEXcolor}
I definitely like the "as" syntax. Not to stir up a dead conversation, but
the tabs situation could be cleanly solved in the same way:
set the tabs of fld 3 to myList -- could be tabstops, tabwidths, or a mix
put the tabs of fld 3[ as stops|widths] -- defaults to stops
tabstops would then be a deprecated synonym for tabs
For colors, the "color" part itself seems unnecessary:
get the backcolor of someControl[ as {Name|RGB|HEX}]
Hopefully the default would be RGB.
And there is the question of what to return if asked for Name and there is
no name for the exact color. The nearest color? RGB instead?
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode