setFocus( )
Sets focus to a component.
Syntax
<oRef>.setFocus( )
<oRef>
A reference to the object to receive focus.
Property of
Form and all form components that get focus
Description
Calling a component’s setFocus( ) method moves the focus to that component (unless it already has focus). When you call a form’s setFocus( ) method, the component on the form that last had focus gets the focus.