Admin Production ni-theme
Current Publication

Operating String Controls

LabWindows/CVI

Operating String Controls

When you set a string control to any mode other than indicator mode, you can change its text from the keyboard or with the mouse.

You can operate a string control from the keyboard in the following ways:

  • Press the left or right arrow key to move the cursor around in the string control.
  • Press <Home> to move the cursor to the beginning of the text.
  • Press <End> to move the cursor to the end of the text.
  • Press <Ctrl-Shift-Backspace> to delete the previous word; press <Ctrl-Shift-Delete> to delete the next word.

Select text by holding down <Shift> and pressing <Home>, <End>, or the left or right arrow keys.

If the control mode of a string control is hot or validate, a commit event is generated when you change the string and then press <Enter> or <Tab>, or click another object with the mouse.