isActionVisible(name)

Returns the visibility/accessibility of the specified end-user Selection List or Selection Tree feature.

Parameter

name

Name of toolbar button (String):

'Search'
'Apply'
'Unselect'
'Reverse'
'Sort'
'Show' (in Selection Container)
'Hide' (in Selection Container)
'Remove' (right-click menu item in Selection Container)
'Select Subtree' (right-click menu item)
'Clear Subtree' (right-click menu item)

Example

if (Selection1.isActionVisible('Apply')==true) {
  Text1.text = 'Press the Apply button to submit';
}

Either syntax below can be used in component script:

isActionVisible                    // unqualified
SelectionTree1.isActionVisible     // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.