Inheritance
When any part is created at edit time, its bidiSpec is nil which means that at runtime, the Bidi attributes of the part will be the default platform attributes. To override the default platform values, uncheck the Set Value to Nil check box on the bidiSpec property sheet, and change the bidiSpec attribute to the required values.
One of the bidiSpec attributes is the inherit flag (TRUE/FALSE). By default, the inheritance flag is TRUE. When you are building the panel, and drag a visual part from the part palette and drop it in a window, it will inherit its default Bidi attributes from its parent. So, if you want to develop a window with a set of text fields with a right to left (RtL) widgetOrientation, you can start by changing the window's widgetOrientation to RtL, then drop in it all the text fields. In this case, the text fields will inherit the widgetOrientation of their parent.
If you decide that you also want to have the typeOfTextData to be Visual, you can change it in the window bidiSpec, and it will be automatically inherited by the window's children as long as the inherit flag of the window bidiSpec is TRUE.
However, if one of the set of text fields is required to remain with widgetOrientation LeftToRight, then you should go to the bidiSpec of this text field, and change its widgetOrientation to LeftToRight.
Note:
Once you explicitly changed the Bidi spec, it will not inherit from its parent unless you delete the part and re-create it again from the parts palette.
Last modified date: 01/29/2015