WantReturn Property (ATextBox)

Returns or sets whether the ATextBox object will insert a line break when the ENTER key is pressed.

Syntax

Object.WantReturn [ = bWantReturn ]

The WantReturn property syntax has the following parts:

 

Name

Type

Description

Object

ATextBox

ATextBox control

bWantReturn

Bool

A boolean expression that specifies whether the control can accept tab keys.

Where

bWantReturn can be one of the following:

 

Value

Description

True

The control can accept tab keys.

False *

The control cannot accept tab keys.

Comments

By default the enter is used to move focus to the default push button and Ctrl+Enter is used to insert new line.

The property is ignored when MultiLine is set to False.

Example

The following statement allows the ATextBox control to accept tab keys from the user:

tbDesc.WantReturn=True

Applies to

ATextBox

See Also

 

MultiLine