API Component.GetParent: Difference between revisions
Appearance
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|GetParent]] | :[[API Component|GetParent]] | ||
</div> | </div> | ||
| Line 9: | Line 10: | ||
==Parameters== | ==Parameters== | ||
[[Variable types|HANDLE]] ''Current'' | |||
:The component to find the parent of | :The component to find the parent of | ||
:''The default value for this parameter is: '''''this''' | :''The default value for this parameter is: '''''this''' | ||
| Line 19: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
''No additional information'' | ''<span style="color:red;">No additional information</span>'' | ||
==Examples== | ==Examples== | ||
| Line 25: | Line 27: | ||
* 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.GetParent(current)</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.GetParent(current)</pre> | ||
''<span style="color:red;">No additional information</span>'' | |||
Revision as of 22:07, 11 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
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)
No additional information