Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_get_table_selection
  
dlgitem_get_table_selection
dlgitem_get_table_selection(window, dlgitem[, column])
Returns the selected row when the selection type of the table control is row selection. If the selection type is cell selection, dlgitem_get_table_selection returns the row of the selected cell. The function returns -1 if the table does not exist. The function returns 0 if nothing is selected.
window — The window identifier of the window containing the table control.
dlgitem — The value of the table control id attribute.
column — If the table control’s selection type is cell selection, this output argument stores the column of the selected cell.
Related Topics
dlgitem_set_table_selection function