Difference between revisions of "API Component.Property.SetVisible"

From Flowcode Help
Jump to navigationJump to search
Line 26: Line 26:
  
 
==Detailed description==
 
==Detailed description==
Shows or hides the property in the [[Property Pane]].
+
Shows or hides the property in the [[Property Pane]]. This state may be read with [[API Component.Property.GetVisible|GetVisible]].
  
  

Revision as of 11:02, 10 June 2013

<sidebar>API contents</sidebar> Sets whether the property is visible or not

Class hierarchy

Component

Property
SetVisible

Parameters

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


Return value

This call does not return a value


Detailed description

Shows or hides the property in the Property Pane. 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)

No additional information