API Component.Property.SetWritable

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png SetWritable
Sets whether the property can be edited in the UI 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 writable state 
Fc9-void-icon.png - NONE Return


Detailed description

This call decides if the property, or any of its children if specifying a folder, are writable or not through the Properties Panel. This state may be read with GetWritable.

Examples

Calling in a calculation

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