Jump to content

API Component.Property.SetChildValues

From Flowcode Help
Revision as of 14:11, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetChildValues
Sets all child components property as a string 
- 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 
- NONE Return


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")