Changes the state of a Thumbnail Toolbar button.
This method is only supported in Internet Explorer 11 on Windows 10.
Syntaxobject.msSiteModeUpdateThumbBarButton(iButtonID, bEnabled, bVisible)
- iButtonID [in]
Integer that specifies the button ID that is returned from msSiteModeAddThumbBarButton.
- bEnabled [in]
A Boolean value that specifies true to enable the button; or false to disable it.
- bVisible [in]
A Boolean value that specifies true to make the button visible; or false to hide it.
This method does not return a value.
There are no standards that apply here.
You can use this method to dynamically modify the state of Thumbnail Toolbar buttons. Because all buttons must be added before the Thumbnail Toolbar is displayed, this method gives you control over which buttons are visible or active. Temporarily hide buttons that are not currently needed by setting bVisible to false. You can also configure the buttons to be visible but not active by setting the bEnabled flag to false.