Jump to content

API System.RedirectMacros: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import
No edit summary
Line 1: Line 1:
<sidebar>API Contents</sidebar>
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Allows calls to one of your children to be redirected to another component
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
<div style="width:25%; float:right" class="toc">
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RedirectMacros'''
====Class hierarchy====
|-
[[API System|System]]
| colspan="2" | Allows calls to one of your children to be redirected to another component&nbsp;
:[[API System|RedirectMacros]]
|-
</div>
|-
__TOC__
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" | Template
==Parameters==
|-
[[Variable Types|HANDLE]] ''Template''
| colspan="2" | The child-component to redirect calls from&nbsp;
:The child-component to redirect calls from
|-
 
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
[[Variable Types|HANDLE]] ''Target''
| width="90%" | Target
:The component with matching macros to call instead of Template, 0 to stop redirections
|-
 
| colspan="2" | The component with matching macros to call instead of Template, 0 to stop redirections&nbsp;
 
|-
==Return value==
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE
''This call does not return a value''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}





Revision as of 11:42, 16 January 2023

RedirectMacros
Allows calls to one of your children to be redirected to another component 
- HANDLE Template
The child-component to redirect calls from 
- HANDLE Target
The component with matching macros to call instead of Template, 0 to stop redirections 
- NONE Return


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::System.RedirectMacros(template, target)

No additional examples