$RTL_FIELDS
Set the position of the cursor in the field at deployment. For right-to-left applications only.
$RTL_FIELDS {=
} {on
|
off
}
Arguments
on
—position the cursor to the right of the field. This is the default if no option is given or if the setting is omitted.off
—position the cursor to the left of the field.
Defaults
Assignment file: | Any application assignment file |
Section: | [SETTINGS] |
Default value: |
|
Description
$RTL_FIELDS determines the position of the cursor in the field at
deployment only if $RTL_APPLICATION is also set. In this case, your application
already works as if $RTL_FIELDS is on
.
To change this, include $RTL_FIELDS in your assignment file and set it
to off
.
The field layout direction can be changed for a field (overriding the $RTL_FIELDS setting) by setting the Direction property of the field layout. The relationship between $RTL_FIELDS, the Direction property, and the layout direction of widgets during development and at deployment is illustrated in the table:
Setting | Development | Runtime |
---|---|---|
$RTL_FIELDS = on
|
||
Direction=RTL |
RTL | RTL |
Direction=LTR |
RTL | LTR |
$RTL_FIELDS = off
|
||
Direction=RTL |
LTR | RTL |
Direction=LTR |
LTR | LTR |