Tab strip

Element which gets reference to UI component Tab strip.

Properties:

  • Control ID: [String] Control ID

  • Control: [LTools.SAP.Model.SAPUIItem] Control reference

  • Tab strip: [LTools.SAP.Model.SAPUITabStrip] Variable that stores tab strip reference

  • Variable: [LTools.SAP.Model.SAPUITabStrip] Variable to store tabs reference

  • Items: [List<LTools.SAP.Model.SAPUITab>] Tab strip items

  • Select (key): [String] Select tab by key

  • Select (index): [Int32] Select tab by index

  • Time-out*: [Int32] Maximum waiting time for process completion (ms)

LTools.SAP.Model.SAPUITabStrip:

  • [SAPFEWSELib.ISapTabbedPane] Element - Element reference;

  • [String] Id - Element ID;

  • [List<LTools.SAP.Model.SAPUITab>] Tabs - Tabs;

  • SelectTab(SAPUITab tab - tab) - Select tab;

  • SelectTab(int idx - tab index) - Select tab;

  • SelectTab(string key - tab key) - Select tab.

LTools.SAP.Model.SAPUITab:

  • [SAPFEWSELib.ISapTabTarget] - Element reference;

  • [String] Id - Tab key;

  • [String] Text - Tab text.

C#
LTools.SAP.SapApp app = LTools.SAP.SapApp.Init(wf);
LTools.SAP.Model.SAPUITabStrip tabs = app.TabStrip("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell");
tabs.SelectTab(tabs.Tabs[0].Id);

Python
app = LTools.SAP.SapApp.Init(wf);
tabs = app.TabStrip("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell")
tabs.SelectTab(tabs.Tabs[0].Id)

JavaScript
var app = _lib.LTools.SAP.SapApp.Init(wf);		
var tabs = app.TabStrip("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell");
tabs.SelectTab(tabs.Tabs[0].Id);

Last updated