Difference between revisions of "API Component.FindChild"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML import API auto-gen)
Line 1: Line 1:
The start line of the article
+
<sidebar>API contents</sidebar>
==ComponentFindChild==
+
Finds a named object that is part of the component
  
Finds a named object that is part of the component
 
----
 
  
 
===Parameters===
 
===Parameters===
Line 22: Line 20:
  
 
===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.FindChild(current, "childname")
+
* Add to a calculation icon: <pre class="brush:[C]">result = ::Component.FindChild(current, "childname")</pre>

Revision as of 15:44, 10 May 2013

<sidebar>API contents</sidebar> Finds a named object that is part of the component


Parameters

HANDLE Current

Object to search children of
The default value for this parameter is: this

STRING ChildName

Name of the child to search for

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.FindChild(current, "childname")