Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_withdraw
  
dlgitem_withdraw
dlgitem_withdraw (window, dlgitem)
Ensures that the dlgitem is invisible when window is open. This function is specifically useful on the toolbar, since it automatically invokes a re-display of the toolbar, shifting the other toolbar buttons to the left to fill the space left by the button withdrawn (if the window is already open, you will see a momentary flash as this re-display takes place). If dlgitem does not refer to a list dialog item or a list tag (in outline lists), $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.
Example
$ret = dlgitem_withdraw($win, "Toolbar_Equation")
Withdraws the Equation toolbar button.