Close - method of the PmaPanel object
Note:
The method is executed only if the "
PanelClose" permission is fullfiled.
This method can be called even in the
INFO system by clicking the "
Actions" button. See "
PmaRoot > Permissions > InfoEdit" permission.
The method is functional even
in the Web panel. This method can be called, for example, in the
onButtonUp event of the
PmgButton object (see
Example).
This method is used only for special cases. The window is usually closed automatically. In the workspace (in the
PmaWorkspace object), the window is closed if another window is opened in the same frame. Separate window is usually closed by the user manually by clicking the mouse on the cross button in the window title bar.
Example:
Example of closing the panel by the button in the panel. In the button (in the
PmgButton object) in the
onButtonUp event, there is the following script:
JavaScriptVBScriptSelect and copy to clipboard
pMe.PmPanel.Close();
pMe.PmPanel.Close