Home Search

DriveWorks Pro 22
Text Box

Send Feedback

Character Limit Property

The number of characters entered into a Text Box control can now be set.

The Character Limit property limits the number of characters that can be entered in the Text Box. If set to 0 (zero), any number of characters can be entered.

Property Type: Static

Default Value: 0

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 typing the required value directly into the property field.

  1. Click in the property for the control to be changed.
  2. Type the required value directly into the property field.

Examples

Character Limit Property Value (static)ResultNotes
0Will allow any number of characters to be entered.
50Will allow 50 characters to be entered.

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.

Character Limit Property Value (Dynamic)ResultNotes
IF( NoteReturn=True, 0, 50)

Will allow unlimited characters to be entered when the Note control equals TRUE, otherwise the characters entered will be limited to 50.

Read Only Property

The Text Box control can now be set to be Read Only. This allows interaction with the control (for instance when scroll bars are required) without the content being edited.

The Read Only property prevents the text from being edited but still allows text selection and scrolling.

Property Type: Static

Default Value: 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 selecting the required value directly from the property field.

  1. Click in the property for the control to be changed.
  2. Select the required value directly from the property field.

Examples

Read Only Property Value (static)ResultNotes
TrueWill allow interaction with the control without content being edited.
FalseWill allow interaction with the control and allow content to be entered.

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.

Read Only Property Value (Dynamic)ResultNotes
IF( NoteReturn=True, True, False)

Will make the control Read Only when the Note control equals TRUE, otherwise the control will allow data to be entered.


See Also

Welcome to DriveWorks Pro 11 -What's New

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

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