String PropertiesDownload PDFSelected SectionSelected Section and Subsection(s)Entire ManualUpdated2026-02-042 minute(s) readLabVIEWAPI ReferenceLabVIEW G Allow DraggingIf TRUE, LabVIEW starts a drag and drop operation when you use the Operating tool to drag text from this control.Allow DroppingIf TRUE, the control automatically accepts text dragged to it, including the LV_TEXT data type from drag and drop events. The LV_TEXT data type is of type string. If FALSE, LabVIEW does not automatically accept any drops, including from the operating system, at run time. LabVIEW returns error 1157 if you set this property on an indicator.Default ValueGets or sets the default value of the string control.Display Format Visible?Gets or sets the visibility of the display format for the string control.Display StyleSets the display style of a string object. Valid values include 0 (normal), 1 (backslash '\' codes), 2 (password), and 3 (hex). You cannot write to this property when the referenced string control has key focus.Enable WrappingIf FALSE, disables word wrapping, wrapping only at line breaks instead.Horizontal Scrollbar VisibleIf TRUE, displays a horizontal scroll bar.Limit To Single Line?If TRUE, the user cannot enter a carriage return in the control or indicator. However, the user can copy the first line of a string and paste it in the string control or indicator.SizeWidth and height in pixels of the frame around the text area of the string control.Size:HeightHeight of the frame around the text area of the string control in pixels.Size:WidthWidth of the frame around the text area of the string control in pixels.TextReference to the text inside the string control.Update While Typing?Updates the value of a string as the user enters characters instead of waiting until the user presses the <Enter> key or otherwise ends text entry.ValueValue of string control.Value (Signaling)Sets the value of the control and generates a Value Change event.Vertical Scrollbar VisibleIf TRUE, displays a vertical scroll bar.
Allow DraggingIf TRUE, LabVIEW starts a drag and drop operation when you use the Operating tool to drag text from this control.Allow DroppingIf TRUE, the control automatically accepts text dragged to it, including the LV_TEXT data type from drag and drop events. The LV_TEXT data type is of type string. If FALSE, LabVIEW does not automatically accept any drops, including from the operating system, at run time. LabVIEW returns error 1157 if you set this property on an indicator.Default ValueGets or sets the default value of the string control.Display Format Visible?Gets or sets the visibility of the display format for the string control.Display StyleSets the display style of a string object. Valid values include 0 (normal), 1 (backslash '\' codes), 2 (password), and 3 (hex). You cannot write to this property when the referenced string control has key focus.Enable WrappingIf FALSE, disables word wrapping, wrapping only at line breaks instead.Horizontal Scrollbar VisibleIf TRUE, displays a horizontal scroll bar.Limit To Single Line?If TRUE, the user cannot enter a carriage return in the control or indicator. However, the user can copy the first line of a string and paste it in the string control or indicator.SizeWidth and height in pixels of the frame around the text area of the string control.Size:HeightHeight of the frame around the text area of the string control in pixels.Size:WidthWidth of the frame around the text area of the string control in pixels.TextReference to the text inside the string control.Update While Typing?Updates the value of a string as the user enters characters instead of waiting until the user presses the <Enter> key or otherwise ends text entry.ValueValue of string control.Value (Signaling)Sets the value of the control and generates a Value Change event.Vertical Scrollbar VisibleIf TRUE, displays a vertical scroll bar.
Allow DraggingIf TRUE, LabVIEW starts a drag and drop operation when you use the Operating tool to drag text from this control.Allow DroppingIf TRUE, the control automatically accepts text dragged to it, including the LV_TEXT data type from drag and drop events. The LV_TEXT data type is of type string. If FALSE, LabVIEW does not automatically accept any drops, including from the operating system, at run time. LabVIEW returns error 1157 if you set this property on an indicator.Default ValueGets or sets the default value of the string control.Display Format Visible?Gets or sets the visibility of the display format for the string control.Display StyleSets the display style of a string object. Valid values include 0 (normal), 1 (backslash '\' codes), 2 (password), and 3 (hex). You cannot write to this property when the referenced string control has key focus.Enable WrappingIf FALSE, disables word wrapping, wrapping only at line breaks instead.Horizontal Scrollbar VisibleIf TRUE, displays a horizontal scroll bar.Limit To Single Line?If TRUE, the user cannot enter a carriage return in the control or indicator. However, the user can copy the first line of a string and paste it in the string control or indicator.SizeWidth and height in pixels of the frame around the text area of the string control.Size:HeightHeight of the frame around the text area of the string control in pixels.Size:WidthWidth of the frame around the text area of the string control in pixels.TextReference to the text inside the string control.Update While Typing?Updates the value of a string as the user enters characters instead of waiting until the user presses the <Enter> key or otherwise ends text entry.ValueValue of string control.Value (Signaling)Sets the value of the control and generates a Value Change event.Vertical Scrollbar VisibleIf TRUE, displays a vertical scroll bar.