From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Use the function SetCtrlAttribute to set the attribute ATTR_CTRL_MODE to either VAL_INDICATOR or VAL_HOT. For example, SetCtrlAttribute (hMyPanel, MYPANEL_MYTEXTBOX,ATTR_CTRL_MODE, VAL_INDICATOR); See the function help in the fuction panel for SetCtrlAttribute.