API Component.Property.SetVisible

From Flowcode Help
Revision as of 11:54, 16 January 2023 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Fc9-comp-macro.png SetVisible
Sets whether the property is visible or not 
Fc9-h32-icon.png - HANDLE Handle
The component handle of the property owner 
Fc9-string-icon.png - STRING Property
The textual name of the property 
Fc9-bool-icon.png - BOOL Value
Set true or false for visible state 
Fc9-void-icon.png - 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)