Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_get_appdata
  
dlgitem_get_appdata
dlgitem_get_appdata (window, dlgitem)
Returns the application-specific data associated with dialog item dlgitem in window. If successful, the function returns the application-specific data associated with the desired dlgitem. If there is no application-specific data for the desired dlgitem, the routine returns a NULL. If dlgitem does not refer to a list dialog item or a list tag (in outline lists), $ERROR is set and 0 is returned.
The window parameter is a window identifier. dlgitem is the value of the control's id attribute.
Example
$ret = dlgitem_get_appdata($win, "Hierarchy")
Returns the string "TopOne" when used in conjunction with the sample code for dlgitem_set_appdata.