Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_set_refresh
  
dlgitem_set_refresh
dlgitem_set_refresh (window, dlgitem, refreshstatus)
Activates or deactivates the automatic refresh for outline list dlgitem in window. Turning off the refresh is good if you are executing a routine which would redraw the list several times (for example, fill the list, resort the list, etc.). If dlgitem 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. dlgitem is the value of the control's id attribute. The refreshstatus parameter sets the refresh/no refresh status of the list entry (1=refresh; 0=no-refresh).
Example
$ret = dlgitem_set_refresh($win, "Filelist", 0)
Deactivates automatic refresh for the outline list Filelist.