Jump to content

API Component.GetParent: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen test
Admin (talk | contribs)
XML import of API auto-gen
Line 1: Line 1:
wiki page name
<sidebar>API contents</sidebar>
==ComponentGetParent==
Gets the owner of the components handle


Gets the owner of the components handle
----


===Parameters===
===Parameters===
Line 19: Line 17:


===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: result = ::Component.GetParent(current)
* Add to a calculation icon: result = ::Component.GetParent(current)

Revision as of 15:35, 10 May 2013

<sidebar>API contents</sidebar> Gets the owner of the components handle


Parameters

HANDLE Current

The component to find the parent of
The default value for this parameter is: this

Return value

HANDLE

Returns the owner of the components handle

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon: result = ::Component.GetParent(current)