int DiscardPanel (int panelHandle);
Removes a panel and any of its child panels from memory and clears them from the screen if visible.
You must call DiscardPanel from the thread in which you create the panel.
| Input | ||
| Name | Type | Description |
| panelHandle | integer | Specifier for a particular panel that is currently in memory. You obtain this handle from LoadPanel, NewPanel, or DuplicatePanel. |
| Name | Type | Description | ||||
| status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred.
|