Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_is_active
  
dlgitem_is_active
dlgitem_is_active (window, dlgitem)
This function tests whether the dlgitem in window is active/enabled or not. If the dlgitem is active/enabled, the function returns a one (1). If the dlgitem is inactive/disabled, the function returns a zero (0). If window is invalid, or if dlgitem does not exist within window, then the function returns -1.
Example
$ret = dlgitem_is_active($win, "TextField")