API Component.Property.SetChildValues: Difference between revisions
Appearance
XML import |
No edit summary |
||
| Line 26: | Line 26: | ||
==Detailed description== | ==Detailed description== | ||
'' | This call steps through all the children of the component and sets the property specified in each to the given value. It is useful for updating a property in all the children of a group, for example. | ||
Note this does not step through the children of compiled components, only those 'owned' by the ''Parent''. | |||
Revision as of 09:07, 10 June 2013
<sidebar>API contents</sidebar> Sets all child components property as a string
Parameters
HANDLE Parent
- The owning component whose children will all be written to
STRING Property
- The textual name of the property
STRING Value
- The value to update the properties text with
Return value
This call does not return a value
Detailed description
This call steps through all the children of the component and sets the property specified in each to the given value. It is useful for updating a property in all the children of a group, for example.
Note this does not step through the children of compiled components, only those 'owned' by the Parent.
Examples
Calling in a calculation
- Add to a calculation icon:
::Component.Property.SetChildValues(parent, "property", "value")
No additional information