Admin Production ni-theme
Current Publication

DefaultPanel

LabWindows/CVI

DefaultPanel

int DefaultPanel (int panelHandle);

Purpose

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.

Parameters

Input
Name Type Description
panelHandle int Specifier for a particular panel that is currently in memory. You can obtain this handle from functions such as LoadPanel and NewPanel.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later