"isOpen"

Returns TRUE if a tree widget element has children and they are not explicitly hidden; otherwise returns FALSE.

Synopsis

shape.isOpen(string Id);

Parameters

Parameter Description
shape Object name
Id Die Element-ID

Description

Returns TRUE if a tree widget element has children and they are not explicitly hidden; otherwise returns FALSE.

Example

The following example returns TRUE if the element "ENGINE"; has children and they are not explicitly hidden.

main()
{
  DebugN(TREE1.isOpen("ENGINE"));
}

Assignment

Tree widget