Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_activate
  
dlgitem_activate
dlgitem_activate (window, dlgitem)
Ensures that dlgitem is active when window is open. An active dialog item responds to user activity such as key strokes and mouse clicks.
The window parameter is a window identifier. dlgitem is the value of the control's id attribute.
Notes
Calling this function has the same effect as calling the dlgitem_set function on the ACTIVE attribute of the dialog item with a non-zero value.
Any necessary display updates will be scheduled but not necessarily completed when this functions returns.
Example
$ret = dlgitem_activate($win, "Salary")
Activates the Salary dialog item.