UserGuide

Right-to-Left Text Support

From Xojo Documentation

Because Xojo primarily uses native controls when building your apps, right-to-left text support is mostly supported without you having to do anything special.

Non-native controls used by Xojo, such as the ListBox, do not have support for right-to-left text. For this control you would use the CellBackgroundPaint event handler to draw your text appropriately.

Right-to-left layout changes are not automatically supported by Xojo. However, you can use the ContainerControl to contain sections of your layouts and put code in the ContainerControl to manually adjust the layout as necessary.

To learn how you can adjust a ContainerControl layout dynamically at run time, refer to this example project or the Container Control section of the User Guide:

  • Examples/Desktop/Custom Controls/OKCancelContainer
  • Desktop Container Controls