ATTR_CTRL_MODE
Type: | Control attribute |
Description: | The mode of the control. |
Control Types: | ActiveX controls, binary switches, canvases, color numerics, command buttons, digital graphs, graphs, LEDs, list boxes, numerics, picture buttons, picture rings, radio buttons, rings, numeric slides, ring slides, splitters, strings, tab controls, tables, text boxes, text buttons, toggle buttons, trees. |
Restrictions: | Not settable for digital graphs controls or controls of type CTRL_ACTIVEX. |
Data Type: | integer |
LabWindows/CVI Compatibility: |
LabWindows/CVI 3.0 and later |
Values
VAL_INDICATOR | The control can be changed programmatically, but operator action cannot generate commit or value changed events. Some controls are always indicators. |
VAL_HOT | The control can be operated by the user or changed programmatically. User action can generate commit or value changed events. For example, if the user moves a binary switch from off to on, a value changed event and a commit event are generated. |
VAL_NORMAL | The control can be operated by the user or changed programmatically. User action can generate value changed events but not commit events. |
VAL_VALIDATE | Similar to a VAL_HOT, except that before a commit event is generated, LabWindows/CVI validates all numeric controls on the panel that have the range-checking attribute set to Notify. Invalid conditions cause a notification box to appear. No commit event is generated until the user enters valid values. Note: This value is not valid for graph controls. |