setPanelVisibility

This function changes the visibility state of the specified floating panel.

Note

If the specified panel is docked but obscured by another panel, this function will not bring the specified panel to the front.

Syntax

function xweb.application.setPanelVisibility(
panelName : String, 
state : String
) : boolean

Parameters

panelName   The name of the panel whose visibility will be changed. If multiple panels have the same name, the visibility of the first programmatically encountered panel is changed.

state   The desired panel visibility state. Legal values are visible and hidden.

Returns

true   The visibility state of the specified panel is successfully changed.

false   The visibility state of the specified panel is not changed.

See Also

Concepts

application
application Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.