Admin Production ni-theme
Current Publication

ATTR_DFLT_VALUE

LabWindows/CVI

ATTR_DFLT_VALUE

Type: Control attribute
Description: The default value for the control.

This is the value to which the control is set when the panel is loaded or when you call DefaultCtrl or DefaultPanel.

The data type of the attribute value depends on the data type of the control.

For controls of data type VAL_STRING, call GetCtrlAttribute and specify the ATTR_DFLT_VALUE_LENGTH attribute to determine the size of the buffer to pass when you are obtaining the default value.
Control Types: Binary switches, color numerics, command buttons, LEDs, list boxes, numerics, picture buttons, picture rings, radio buttons, rings, numeric slides, ring slides, strings, text boxes, text buttons, text messages, toggle buttons, trees.
Data Type: variable
LabWindows/CVI
Compatibility:
LabWindows/CVI 3.0 and later