Arbortext Command Language > Callbacks > doc_add_callback > tbl_grid_focus Callback Type
  
tbl_grid_focus Callback Type
Function prototype:
function funcname (doc, gridid, window, action)
tbl_grid_focus is called whenever a table grid becomes active or inactive in the Edit window.
Arguments
doc is the identifier of the document containing gridid.
gridid is the table object ID (toid) of the table grid.
window is the identifier of the window.
action is a boolean: one (1) if the grid is becoming active, zero (0) if the grid is becoming inactive.