restorePanel()

Opens an already loaded child panel that had been minimized.

Synopsis

bool restorePanel(string panelName[, string moduleName]);

Parameters

Parameter Description
panelName Name of the panel that will be opened
modulName Name of the modul in which the panel will open

Return value

In the event of an error, the function returns 0 otherwise, 1.

Error

Invalid or missing arguments

Description

Opens an already loaded child panel that had been minimized.

This function has no impact on panels within an embedded module.

Example

In the following example, a child panel named "Sim" will be restored in the current module.

main()
{
  restorePanel("Sim");
}

Assignment

panel.ctl

Availability

UI