Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
1.6.0
Description
<p>This feature allows skinners to specify an indirect property. The 2 new functions will take a string and evaluate the contents against the system properties. This way skinners can (for example) define a function as a SkinProperty and evaluate that for display in a label or use string functions to build a property name (e.g. number all menu items from 0-9 and have SkinPropertis Label0 to Label9, then add put the label as</p><p><label>#(cpropstring(string.format('#BasicHome.B{0}.Label',#BasicHome.Current.ID)))</label></p><p>functions are:</p><ul><li>cpropstring, returns a string based property</li><li>cpropbool, returns a bool based property</li></ul><p>Additional needed changes: changed SkinFunctionAttribute to include a new parameter named "AllwaysEvaluate", to avoid function caching. Attached is full patch and a dll against 1.6.</p><p><br /></p>
Attachments
1.
|
Documentation for "Add a skin function to indirectly access properties" |
![]() |
Open | Unassigned |