int DefaultPanel (int panelHandle);
Restores all panel controls to their default values.
If the panel is visible, it updates to reflect the new control values. Assign default values to controls in the User Interface Editor or through SetCtrlAttribute using ATTR_DFLT_VALUE.
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.
|