Skip to content

Wrap_State - Edit

Governs whether strings of text input will break and wrap to the next line at the end of this object, or will continue onward on the same line until a carriage return/linefeed is input

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer Wrap_State
Access Type Syntax
Read Access: Get Wrap_State to IntegerVariable
Write Access: Set Wrap_State to IntegerVariable/Value

Description

The Wrap_state property governs whether strings of text input will break and wrap to the next line at the end of this object (the default behavior), or will continue onward on the same line until a carriage return/linefeed is input. When not wrapping (false), this object will scroll its content so that the point at which input is occurring is visible at all times during input. When true, the text will only be broken by an explicit carriage return/linefeed and a horizontal scroll bar will appear at the bottom of the edit object.

Default is true.