Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_dropdown_list
  
dlgitem_dropdown_list
dlgitem_dropdown_list(window, dlgitem)
This function accesses the dropdown lists in the Arbortext Editor toolbar. The window parameter is a window identifier and indicates in which window you want the dropdown list to be activated. dlgitem is the value of the control's id attribute. For example, the following command would activate the Insert Markup dropdown list.
$ret = dlgitem_dropdown_list(current_window(), \
"Toolbar_InsertMarkupDrop")
The function returns a one (1) on success and returns a zero (0) if the dlgitem was not found or is not a dropdown list.
The following is a list of the available dropdown lists and the values for dlgitem that will activate them.
Dropdown List
Value for dlgitem
Insert Markup
Toolbar_InsertMarkupDrop
Insert Symbol
Toolbar_InsertCharEntityDrop
Insert Text Entity
Toolbar_InsertTextEntityDrop
Insert File Entity
Toolbar_InsertFileEntityDrop
Bookmarks
Toolbar_BookmarkDrop
Collapse/Expand
Toolbar_CollapseExpandDrop
Cell Shading
Toolbar_CellShadeDrop