Shiny Language Reference

Language Reference > Panel Functions


showpanel

showpanel(bool IsVisible);

 

 

Controls whether the display panel is visible or hidden

SHOWPANEL controls whether the display panel is visible or completely hidden on-screen. This function should be used to show and hide the panel as appropriate. Note that it is more efficient to hide a panel using this function than to position the panel off-screen using setpanelpos. This function can be used to put the panel in an appropriate state before using the panel effects extension.

 

Parameters

IsVisible

TRUE if the panel should be made visible, otherwise FALSE to hide it.

 

Return Value

None

 

Example Code

// The plugin is now invisible
showpanel(False);