Set focus

Component that sets the input focus on a selected control element.

Properties
- Control ID: [String] Control ID
- Control: [LTools.SAP.Model.SAPUIItem] Control reference
- Time-out*: [Int32] Maximum waiting time for process completion (ms)
C#
LTools.SAP.SapApp app = LTools.SAP.SapApp.Init(wf);
app.SetFocus("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell");
Python
app = LTools.SAP.SapApp.Init(wf)
app.SetFocus("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell")
JavaScript
var app = _lib.LTools.SAP.SapApp.Init(wf);
app.SetFocus("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell");
Last updated