If you set the bidiType property to bidiTypeKind.visual,
users can enter bidirectional data in visual order. If the property
is set to bidiTypeKind.logical (the default),
no conversion is performed. This property can be applied only to STRING,
CHAR, and UNICODE variables.
Use the
bidiTypeKind enumeration to specify
values for this property. The
bidiTypeKind enumeration
has the following values:
- logical (the default)
- Users must enter bidirectional text in logical order.
- visual
- Users must enter bidirectional text in visual order.
At runtime, users can use specific keystrokes to perform the following
bidirectional functions:
- field reverse
- Press Alt+Num Lock. If the field orientation is left-to-right,
this key combination changes the field orientation to right-to-left,
the cursor moves to the right side of the field, and the language
layer becomes bidirectional. If the field orientation is right-to-left,
this key combination changes the field orientation to left-to-right,
the cursor moves to the left side of the field, and the language layer
becomes Latin.
- auto push
- Press Alt+Keypad /. This combination allows the user to change
back and forth between left-to-right and right-to-left text by changing
the language layer (change the language layer by pressing Alt+Shift).
- push on
- Press Shift+Num Lock. This combination allows the user to enter
and edit text in the opposite direction from the field direction.
- push off
- Press Shift+Keypad /. This combination ends push mode and moves
the cursor to the end of the push segment.