Parameterization of the docked view settings

Just curious about whether there is a easy way to parameterize the docked view setting, like the "display" and "handle" settings.

Basically I am thinking about a button on the docked view, that can be used to anchor the docked view.
Once button clicked, the docked view setting will be changed to "Display = visible" and "Handle = hide", so the view is anchored. Then clicked again, the the setting will be changed to " Display = on Demand" and "Handle = autoHide", the view will be auto hide.

You can use this function:
https://docs.inductiveautomation.com/display/DOC81/system.perspective.alterDock

1 Like