DriveWorks Pro 15: Word Wrap [send feedback...]

Word Wrap

The Word Wrap property will wrap the data being entered to fit within the width of the control.

Property Type: Static

Default Value: False

Hierarchical Reference: ControlName.WordWrap

By default the Word Wrap property is set to False.

The Word Wrap property requires a boolean value (True or False).

To Change the Default Value

Ensure the property is a static property (It will display the gray orb alongside the property name)

The default value of the static property can be changed by one of the following methods:

  • Using the Drop Down.
    1. Click in the property for the control to be changed
    2. Click the drop down list at the end of the property value field
    3. Select the value to use (from True or False)
  • Double clicking the current value.
    1. Click in the property for the control to be changed
    2. Double click on the current value for the property. The value will change to the other available option.

A rule can also be built for this property by changing the type to dynamic.

See How To: Change A Static Property To A Dynamic Property.

The behavior of the Word Wrap property is affected by the value of the Multiline property.

See Examples below.

Examples

Word Wrap Property Value (static)Multiline Property Value (static)Result
FalseFalse

Data entered extends beyond the width of the control.

FalseTrue

Data entered extends beyond the width of the control. Horizontal scroll bars allow extent of the data to be reached.

TrueFalse
TrueTrue
Word Wrap Property Value (dynamic)Result
IF(DWVariableNumberOfChars > 50, TRUE, FALSE)Will set the property to True when the variable NumberOfChars is greater than 50. Otherwise it will be set to False.

Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.

Table of Contents