Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_set_appdata_at
  
dlgitem_set_appdata_at
dlgitem_set_appdata_at(window, listtag, row, appdata)
Associates application-specific appdata with the outline list entry row in the outline list listtag in window. If listtag does not refer to an outline list listtag, $ERROR is set and 0 is returned. Otherwise, 1 is returned.
The window parameter is a window identifier. The listtag parameter is an outline list listtag (case sensitive). The row parameter is an offset into listtag (starting from one). The appdata parameter is the string of application data to associate with the list item.
Notes
The application data is passed to dialog item and outline list expansion callbacks.
Example
$ret = dlgitem_set_appdata_at($win, "Hierarchy", 3, "TopOne")
Sets the application data of the third item in the outline list item Hierarchy to TopOne.