Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_is_expandable
  
dlgitem_is_expandable
dlgitem_is_expandable(window, dlgitem, listtag, row)
Returns 1 if the given list entry has a sublist, or 0 if it does not.
The window parameter is a window identifier. dlgitem is the value of the control's id attribute. The listtag parameter instructs the function to get the sublist for this list tag. The row parameter specifies which row of the sublist to test.
Example
$top = dlgitem_get_listtag($win, "Hierarchy")
$ret = dlgitem_is_expandable($win, "Hierarchy", $top, 0)
Returns one (1) if the child of the first entry in the Hierarchy is expandable.