Jump to content

API System.RedirectMacros: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML Import to change Variable types into Variable Types
JonnyW (talk | contribs)
XML import of updated API docs
Line 1: Line 1:
<sidebar>API contents</sidebar>
<sidebar>API contents</sidebar>
Allows calls to one of your children to be redirected to another component
Allows calls to one of your children to be redirected to another component
Line 11: Line 13:
==Parameters==
==Parameters==
[[Variable Types|HANDLE]] ''Template''
[[Variable Types|HANDLE]] ''Template''
:The child-component to redirect call to
:The child-component to redirect calls from


[[Variable Types|HANDLE]] ''Target''
[[Variable Types|HANDLE]] ''Target''
:The component with matching macros to recieve the calls from, 0 to stop redirections
:The component with matching macros to call instead of Template, 0 to stop redirections




Line 29: Line 31:
* Add to a calculation icon: <pre class="brush:[cpp]">::System.RedirectMacros(template, target)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::System.RedirectMacros(template, target)</pre>


''<span style="color:red;">No additional information</span>''
''<span style="color:red;">No additional examples</span>''

Revision as of 09:57, 17 June 2013


<sidebar>API contents</sidebar> Allows calls to one of your children to be redirected to another component

Class hierarchy

System

RedirectMacros

Parameters

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


Return value

This call does not return a value


Detailed description

No additional information


Examples

Calling in a calculation

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

No additional examples