Close - method of object PmPanel

The method closes the panel (removes it from the screen and the memory).

This method/property/event is considered obsolete and is functional only if the Level of integration of panel viewer and the local application configurator is set to full - FULL access from scripts to the whole application (only for VBScript value and if the Enable multiple opening of local panel configurator IS NOT SET.

Instead of this method it is recommended to use the PmiRoot.Close method.

For closing the window the PanelClose permission has to be set.
This method can even be called from the INFO system by clicking the "Actions" button. See permission PmRoot > Permissions > InfoEdit.
The method is functional even for Web panels. This method can be called, for example, in the onButtonUp event of the PmiButton graphic item (see Example).
This method is used only for special cases. The window is usually closed automatically. In the PmWorkspace, the window is closed when another window is opened in the same frame. Independent window is usually closed by the operator clicking the cross button in window header.
An example of closing the panel by a button in the panel. In the button (PmiButton object) in the onButtonUp event, there is the following script:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice