Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_get_focus
  
dlgitem_get_focus
ret = dlgitem_get_focus(win)
Returns the tag name of the dialog item (case sensitive) that has keyboard focus for the window specified by win. If win is invalid, or if the keyboard focus has not been set for the window, then $ERROR is set and the empty string ("") is returned.
The win parameter is a window identifier.
Example
focused_item = dlgitem_get_focus($win)
Related Topics
dlgitem_set_focus function