Difference between revisions of "API Component.Clone"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML import)
Line 18: Line 18:
 
[[Variable types|HANDLE]] ''NewPosition''
 
[[Variable types|HANDLE]] ''NewPosition''
 
:A position to move the object to
 
:A position to move the object to
 +
  
 
==Return value==
 
==Return value==
Line 23: Line 24:
  
 
''<span style="color:red;">No additional information</span>''
 
''<span style="color:red;">No additional information</span>''
 
  
  

Revision as of 01:52, 12 May 2013

<sidebar>API contents</sidebar> Clones an existing object to another position on the panel

Class hierarchy

Component

Clone

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)

No additional information