focusItem

>>-focusItem--(--wndObject--)----------------------------------><

Sets the input focus to the child window associated with the specified WindowObject instance wndObject.

Example:

The following example sets the input focus to the last child window:

 dlg = wndmgr~find("TestDialog")
    if dlg \= .Nil then do
        fChild = dlg~firstChild
        lChild = fChild~last
        dlg~focusItem(lChild)
    end