"isExpandable"

Returns TRUE if an element is expandable even when it has no children; otherwise returns FALSE.

Synopsis

shape.isExpandable(string Id);

Parameters

Parameter Description
shape Object name
Id Die Element-ID

Description

Returns TRUE if an element is expandable even when it has no children; otherwise returns FALSE.

Example

The following example returns TRUE if the element "ENGINE"; is expandable.

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

Assignment

Tree widget