Creating Forms and Dialog Boxes with Right-to-Left Extensions

Microsoft Forms Object Model

Creating Forms and Dialog Boxes with Right-to-Left Extensions

        

You can use the Visual Basic Editor and Microsoft Forms version 2.0 in all Microsoft Office 2000 applications to create forms and dialog boxes. Bidirectional extensions to the editor and Microsoft Forms 2.0 are provided in Office 2000 for right-to-left, left-to-right, and mixed-text usage. For a general overview of the standard tools, see the “Forms” topic in Help for the application you’re working in.

Three Microsoft Forms 2.0 properties are generally used to add bidirectional characteristics to forms and dialog boxes. These properties are listed and described in the following table.

Property Exposed on Affects
Alignment Controls Controls
TextAlign Controls Controls
RightToLeft Forms Forms and controls

These properties affect the controls listed in the following table, which are available in the Control Toolbox. You can set these properties in the Properties window in the editor or by using Visual Basic for Applications statements.

Control Alignment TextAlign RightToLeft
CheckBox X X X
ComboBox   X X
Frame     X
Label   X  
ListBox   X X
MultiPage     X
OptionButton X X  
TabStrip     X
TextBox   X X
ToggleButton   X  

Note   Context reading order is generally assigned to text in controls. This means that the reading order of displayed text strings that begin with a non-left-to-right character (for example, text strings in Arabic) will be displayed in right-to-left reading order, and text strings that begin with a left-to-right character will be displayed in left-to-right reading order.