Skinning With Variables
Posted: Sun May 29, 2011 2:53 pm
So far I can put objects for skinning into customProperties, such as png, jpg, etc. As well as obtain them and put them into a variable or export them to a file, etc.
When a property is in a variable, LiveCode cannot "see" the ID of that object. If that same object in on a card, etc. It;s ID can been seen by LiveCode.
For skinning,I need to be able to say, for example:
set the icon of btn "Tab" to the ID of tSkins[TabGoldPng.png] or
set the hilite of btn "Tab" to the ID of tSkins[TabGoldPng.png]
etc.
So, I can do all things with a customProperty except use it for skinning. In my ignorance, am I missing something in this regard? or is this a viable Feature Request?
Thanks,
William
When a property is in a variable, LiveCode cannot "see" the ID of that object. If that same object in on a card, etc. It;s ID can been seen by LiveCode.
For skinning,I need to be able to say, for example:
set the icon of btn "Tab" to the ID of tSkins[TabGoldPng.png] or
set the hilite of btn "Tab" to the ID of tSkins[TabGoldPng.png]
etc.
So, I can do all things with a customProperty except use it for skinning. In my ignorance, am I missing something in this regard? or is this a viable Feature Request?
Thanks,
William