Jump to content

API Component.Property.GetWritable: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 29: Line 29:
* Declare a variable 'result' of type BOOL
* Declare a variable 'result' of type BOOL
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.GetWritable(handle, "property")</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.GetWritable(handle, "property")</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:54, 16 January 2023

GetWritable
Gets whether the property can be edited in the UI or not 
- HANDLE Handle
The component handle of the property owner 
- STRING Property
The textual name of the property 
- BOOL Return


Detailed description

Reads whether a property of a component is editable in the Properties Panel or not.

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::Component.Property.GetWritable(handle, "property")