Returns or sets whether the ATextBox object will insert a line break when the ENTER key is pressed.
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. |
bWantReturn can be one of the following:
Value |
Description |
True |
The control can accept tab keys. |
False * |
The control cannot accept tab keys. |
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.
The following statement allows the ATextBox control to accept tab keys from the user:
tbDesc.WantReturn=True
|
|