Difference between revisions of "API Component.GetNext"

From Flowcode Help
Jump to navigationJump to search
Line 25: Line 25:
  
  
This call is the functional opposite to [[API Component.GetLast|GetLast]]. It will return 0 if the component is the youngest.
+
This call is the functional opposite to [[API Component.GetLast|GetLast]]. It will return 0 if the ''Handle'' is the youngest.
  
  

Revision as of 09:25, 7 June 2013

<sidebar>API contents</sidebar> Gets the next (younger) sibling of the components handle

Class hierarchy

Component

GetNext

Parameters

HANDLE Handle

The component to find the sibling of
The default value for this parameter is: this


Return value

HANDLE

Returns the next (younger) sibling of the components handle


Detailed description

For a more detailed description see the component tree.


This call is the functional opposite to GetLast. It will return 0 if the Handle is the youngest.


Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Component.GetNext(handle)

No additional information