Difference between revisions of "API Tree.CheckParent"

From Flowcode Help
Jump to navigationJump to search
 
Line 18: Line 18:
  
 
==Detailed description==
 
==Detailed description==
''<span style="color:red;">No additional information</span>''
+
 
  
  
Line 25: Line 25:
 
* Declare a variable 'result' of type BOOL
 
* Declare a variable 'result' of type BOOL
 
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Tree.CheckParent(object)</pre>
 
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Tree.CheckParent(object)</pre>
 
''<span style="color:red;">No additional examples</span>''
 

Latest revision as of 11:55, 16 January 2023

Fc9-comp-macro.png CheckParent
Returns true if the object has a parent, else false if it is the root 
Fc9-h32-icon.png - HANDLE Object
The object to check for a parent 
Fc9-bool-icon.png - BOOL Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::Tree.CheckParent(object)