Returns the id of the current tab. This function can be used on any List or Print page events.
Syntax
getCurrentTabId()
Arguments
No arguments.
Return value
Returns the id of the current tab.
Example
You can hide the Delete button on the "main" tab using this code:
if pageObject.getCurrentTabId() = "main" then
pageObject.hideItem "delete",recordId
end if
See also:
•JavaScript API: RunnerPage object > setCurrentTabId(tabId)
•JavaScript API: RunnerPage object