OnCtrlFocus Method
The OnCtrlFocus method brings a control into focus, where focus is a state that makes the control the active control. It uses the following syntax:
OnCtrlFocus(rowId, control, value);
where:
rowId, control, and
value
work the same as with the OnCtrlBlur method.
For example, the following code brings the my_accounts control into focus:
this.ExecuteMethod("OnCtrlFocus", counter, my_accounts, value);
For more information about these arguments and this example, see OnCtrlBlur Method.
You must make sure no other control is active. If another control is already active, and if you configure Siebel Open UI to run OnCtrlFocus, then Siebel Open UI rejects the OnCtrlFocus call.
For more information about using this method, see Life Cycle Flows of User Interface Elements.