Check box

Element which gets reference to UI component Check box.

Properties:
Control ID*: [String] Control ID
Control: [LTools.SAP.Model.SAPUIItem] Control reference
Check box: [LTools.SAP.Model.SAPUICheckBox] Variable that stores check box reference
Variable: [LTools.SAP.Model.SAPUICheckBox] Variable to store check box reference
State: [Boolean] Check box state
Change state: Determines that state must be changed
Time-out*: [Int32] Maximum waiting time for process completion (ms)
LTools.SAP.Model.SAPUICheckBox:
[SAPFEWSELib.ISapCheckBoxTarget] Element - Element reference;
[String] Id - Element ID;
[int] Color - Color;
[bool] IsChecked - Is checked property.
C#
LTools.SAP.SapApp app = LTools.SAP.SapApp.Init(wf);
LTools.SAP.Model.SAPUICheckBox ch = app.CheckBox("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell");
ch.IsChecked = true;
Python
app = LTools.SAP.SapApp.Init(wf)
ch = app.CheckBox("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell")
ch.IsChecked = True
JavaScript
var app = _lib.LTools.SAP.SapApp.Init(wf);
var ch = app.CheckBox("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell");
ch.IsChecked = true;
Last updated