Difference between revisions of "API Component.Clone"

From Flowcode Help
Jump to navigationJump to search
(XML import of API auto-gen)
(XML import of API auto-gen)
Line 1: Line 1:
<sidebar>API contents</sidebar>
+
Wanking wiki page name
 +
==ComponentClone==
 +
 
 
Clones an existing object to another position on the panel
 
Clones an existing object to another position on the panel
 
+
----
  
 
===Parameters===
 
===Parameters===
Line 22: Line 24:
  
 
===Examples===
 
===Examples===
====Calling in a calculation====
+
====Calling in a calculation:====
 
* Declare a variable 'result' of type HANDLE
 
* Declare a variable 'result' of type HANDLE
* Add to a calculation icon: <pre class="brush:[C]">result = ::Component.Clone(source, destparent, newposition)</pre>
+
* Add to a calculation icon: result = ::Component.Clone(source, destparent, newposition)

Revision as of 15:35, 10 May 2013

Wanking wiki page name

ComponentClone

Clones an existing object to another position on the panel


Parameters

HANDLE Source

The object to copy

HANDLE DestParent

The parent to link the cloned object to

HANDLE NewPosition

A position to move the object to

Return value

HANDLE

No additional information

Detailed description

No additional information

Examples

Calling in a calculation:

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon: result = ::Component.Clone(source, destparent, newposition)