Difference between revisions of "API Component.FindChild"
From Flowcode Help
Jump to navigationJump to search (XML import API auto-gen) |
(XML import) |
||
Line 2: | Line 2: | ||
Finds a named object that is part of the component | Finds a named object that is part of the component | ||
+ | <div style="width:25%; float:right" class="toc"> | ||
+ | ===Class hierarchy=== | ||
+ | :Component | ||
+ | ::FindChild | ||
+ | </div> | ||
+ | __TOC__ | ||
− | + | ==Parameters== | |
''[[Variable types|HANDLE]] Current'' | ''[[Variable types|HANDLE]] Current'' | ||
:Object to search children of | :Object to search children of | ||
Line 11: | Line 17: | ||
:Name of the child to search for | :Name of the child to search for | ||
− | + | ==Return value== | |
[[Variable types|HANDLE]] | [[Variable types|HANDLE]] | ||
No additional information | No additional information | ||
− | + | ==Detailed description== | |
''No additional information'' | ''No additional information'' | ||
− | + | ==Examples== | |
− | + | ===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:[ | + | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.FindChild(current, "childname")</pre> |
Revision as of 15:36, 11 May 2013
<sidebar>API contents</sidebar> Finds a named object that is part of the component
Class hierarchy
- Component
- FindChild
Contents
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
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")