Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Right-to-Left Layout

Certain languages, such as Hebrew or Arabic, use a right-to-left (RTL) writing system that requires a mirrored UI layout and a reversed text direction.

VCL Shared Libraries: An Application in RTL Mode

#Enable RTL Layout

To use RTL display mode in an application or control, assign bdRightToLeft to the application’s BiDiMode property or the control’s BiDiMode property. You can use the ParentBiDiMode property to specify if the control uses its parent’s display mode.

#Code Example: Enable RTL Application-Wide

The following code example enables the RTL layout for all controls that support it:

begin
  Application.BiDiMode := bdRightToLeft;
  // ...
  Application.Initialize;
  Application.MainFormOnTaskBar := True;
  Application.CreateForm(TMyForm, MyForm);
  Application.Run;
end.

#Controls with Support for RTL

All DevExpress controls in the following list can switch between left-to-right and right-to-left layouts:

See Also