Arbortext Command Language > Functions by Alphabetical Listing > columnview_cell_focus
  
columnview_cell_focus
columnview_cell_focus([window[, newcol]])
This function enables you to change the focus from one Column view cell to a different cell.
The window parameter is the view for which you want to change the cell focus. If window is omitted or set to zero, the current window is used.
The newcol parameter is the column number of the cell that you want to assume the focus. Column zero is the Outline column. If a column number larger than the number of columns being displayed is given, the focus is moved to the last cell of the row. If newcol is omitted or set to a negative value, the cell focus is not changed.
The function returns the number of the column that currently has the focus. Column zero is the Outline column. A value of -1 indicates that the view specified by window is not a Column view or is otherwise invalid.