Jump to content

API Component.SetInteractive: Difference between revisions

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
Line 2: Line 2:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetInteractive'''
| width="90%" class="mtx-class-macrohead" | '''SetInteractive'''
|-
|-
| colspan="2" | Sets whether a component can interact with the mouse 
| colspan="2" | Sets whether a component can interact with the mouse 

Latest revision as of 14:11, 13 July 2026

SetInteractive
Sets whether a component can interact with the mouse 
- HANDLE Target
The component to set the state for 
- BOOL Enabled
True to enable, false to disable 
- NONE Return


Detailed description

An interactive component responds to mouse clicks and other user interface events.

If a component is not interactive, it can not be clicked on by the mouse and will be ignored in mouse-click tests.


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Component.SetInteractive(target, true)