ReadingOrder Property

Microsoft Access Visual Basic

ReadingOrder Property

       

You can use the ReadingOrder property to specify or determine the reading order of words in text. Read/write.

expression.ReadingOrder

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The ReadingOrder property uses the following settings.

Setting Visual Basic Description
Context 0 Reading order is determined by the language of the first character entered. If a right-to-left language character is entered first, reading order is right to left. If a left-to-right language character is entered first, reading order is left to right.
Left-to-Right 1 Sets the reading order to left to right.
Right-to-Left 2 Sets the reading order to right to left.
You can set this property by using the property sheet or Visual Basic.

In a combo box or list box, the ReadingOrder property determines reading order behavior for both the text box and list box components of the control.

Example

The following example sets the reading order to right to left for the "Address" text box on the "International Shipping" form.

Forms("International Shipping").Controls("Address").ReadingOrder = 2