LabVIEW 2017 Help
Edition Date: March 2017
Part Number: 371361P-01
»View Product Info
Complete the following steps to configure a string constant, control, or indicator to limit the contents of the string to a single line.
- Right-click a string constant, control, or indicator and select Limit to Single Line from the shortcut menu. This option prevents you from entering a carriage return in a string control or indicator.
- Copy a multiline string and paste the strings in the string control or indicator. When you paste a multiline string into a string object that only allows a single line, LabVIEW pastes only the first line.
You also can use the Limit To Single Line? property to programmatically prevent entering a carriage return.