Jump to content

API Component.Property.SetVisible: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 36: Line 36:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Component.Property.SetVisible(handle, "property", false)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Component.Property.SetVisible(handle, "property", false)</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:54, 16 January 2023

SetVisible
Sets whether the property is visible or not 
- HANDLE Handle
The component handle of the property owner 
- STRING Property
The textual name of the property 
- BOOL Value
Set true or false for visible state 
- NONE Return


Detailed description

Shows or hides the property in the Properties Panel. This state may be read with GetVisible.


Note for root component properties the property will not be hidden, but disabled instead so it can be modified by the user. This is not true for compiled components.

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Component.Property.SetVisible(handle, "property", false)