Difference between revisions of "API Component.FindChild"
From Flowcode Help
Jump to navigationJump to search (XML import)  | 
				 (XML import)  | 
				||
| Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc">  | <div style="width:25%; float:right" class="toc">  | ||
| − | ===Class hierarchy===[[API Component|Component]]  | + | ====Class hierarchy====  | 
| + | [[API Component|Component]]  | ||
:[[API Component|FindChild]]  | :[[API Component|FindChild]]  | ||
</div>  | </div>  | ||
| Line 9: | Line 10: | ||
==Parameters==  | ==Parameters==  | ||
| − | + | [[Variable types|HANDLE]] ''Current''  | |
:Object to search children of  | :Object to search children of  | ||
:''The default value for this parameter is: '''''this'''  | :''The default value for this parameter is: '''''this'''  | ||
| − | + | [[Variable types|STRING]] ''ChildName''  | |
:Name of the child to search for  | :Name of the child to search for  | ||
| Line 19: | Line 20: | ||
[[Variable types|HANDLE]]  | [[Variable types|HANDLE]]  | ||
| − | No additional information  | + | ''<span style="color:red;">No additional information</span>''  | 
| + | |||
| + | |||
==Detailed description==  | ==Detailed description==  | ||
| − | ''No additional information''  | + | ''<span style="color:red;">No additional information</span>''  | 
| + | |||
==Examples==  | ==Examples==  | ||
| Line 28: | Line 32: | ||
* Declare a variable 'result' of type HANDLE  | * Declare a variable 'result' of type HANDLE  | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.FindChild(current, "childname")</pre>  | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.FindChild(current, "childname")</pre>  | ||
| + | |||
| + | ''<span style="color:red;">No additional information</span>''  | ||
Revision as of 22:07, 11 May 2013
<sidebar>API contents</sidebar> Finds a named object that is part of the component
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")
 
No additional information