String class

From LabVIEW Wiki
Jump to: navigation, search
VI Server Class Information
Return to VI Server Class Hierarchy
Class Name String class
Class ID 27
Scope Basic Development Environment
Class Inheritance
Class Children


The String class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide String Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
String Properties Table
Property ID Long Name (English) Description R/W RTE
6345800ValueValue of string control.Read/WriteYes
6345801Text SizeRead/WriteYes
6345802Text Size:WidthWidth of the frame around the text area of the string control in pixels.Read/WriteYes
6345803Text Size:HeightHeight of the frame around the text area of the string control in pixels.Read/WriteYes
6345804TextReference to the text inside the string control.Read OnlyYes
6345805Display 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.Read/WriteYes
6345806Scrollbar VisibleRead/WriteYes
6345807Limit 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.Read/WriteYes
6345808Update 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.Read/WriteYes
6345809Default ValueGets or sets the default value of the string control.Read/WriteYes (Read Only)
634580AForce Unicode TextRead/WriteYes
634580BPrealloc LengthRead/WriteYes
634580CValue (Signaling)Sets the value of the control and generates a Value Change event.Write OnlyYes
634580DSizeWidth and height in pixels of the frame around the text area of the string control.Read/WriteYes
634580ESize:WidthWidth of the frame around the text area of the string control in pixels.Read/WriteYes
634580FSize:HeightHeight of the frame around the text area of the string control in pixels.Read/WriteYes
6345810Vertical Scrollbar VisibleIf TRUE, displays a vertical scroll bar.Read/WriteYes
6345811Horizontal Scrollbar VisibleIf TRUE, displays a horizontal scroll bar.Read/WriteYes
6345812Enable WrappingIf FALSE, disables word wrapping, wrapping only at line breaks instead.Read/WriteYes
6345813Allow DraggingIf TRUE, LabVIEW starts a drag and drop operation when you use the Operating tool to drag text from this control.Read/WriteYes
6345814Allow 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.Read/WriteYes
6345815Display Format Visible?Gets or sets the visibility of the display format for the string control.Read/WriteYes (Read Only)

Methods

Show/Hide String Properties Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
String Methods Table
Method ID Long Name (English) Description RTE
6345400Size to TextResizes the string control vertically to show all text. This method does not resize the string control horizontally.Yes (Read/Write)
6345401Get Nth LineGets the characters that make up the Nth line in a string control and returns the offsets in the original string in bytes.Yes (Read/Write)
6345402Byte Offset from PointReturns the byte offset of the string from the given point.Yes (Read/Write)
6345403Append StringAppends a string to the existing value of the referenced string control.Yes (Read/Write)

Events

This class has no events or it inherits events from its parent: Control Class.


History

Version Change(s)
LabVIEW 2018 More info to come.

See Also