Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_expand
  
dlgitem_expand
dlgitem_expand (window, dlgitem, listtag, row)
Expands the list at the given point in the given list tag (in outline lists), within the dialog item dlgitem in window. If successful, this function returns a one (1). If the function fails, it returns a zero (0).
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 expand.
The EXPAND callback will be called to request more rows.
Example
$top = dlgitem_get_listtag($win, "Hierarchy")
$ret = dlgitem_expand($win, "Hierarchy", $top, 0)
Expands the child of the first entry in the Hierarchy list.