Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_set_list_at
  
dlgitem_set_list_at
dlgitem_set_list_at (window, dlgitem, index, value)
Assigns a value to the list of values in the list dialog item or list tag (in outline lists) identified by dlgitem in window. If the list has insufficient entries to accommodate index, it is extended with empty strings. If dlgitem does not refer to a list dialog item or list tag, or if index is illegal, $ERROR is set and 0 is returned. Otherwise, 1 is returned.
The window parameter is a window identifier. dlgitem is the value of the control's id attribute. The index parameter specifies the index into list on dlgitem. The value parameter specifies the actual value to assign.
Example
$ret = dlgitem_set_list_at($win, "Languages", 1, "C")
$ret = dlgitem_set_list_at($win, "Languages", 2, "C++")