API Tree.CheckParent

From Flowcode Help
Jump to navigationJump to search
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)