Sign in Join
FPDoc Onlineexperiment

TMenu.UseRightToLeftReading function

Member of TMenupublicIn unit Menus

Indicates if right-to-left reading is used for the menu.

Declaration

pascal
function UseRightToLeftReading: Boolean; virtual

Function result

True if Right-to-Left reading is used for the text on the menu.

Description

UseRightToLeftReading is a Boolean function which indicates if the menu uses Right-to-Left reading for its values. UseRightToLeftReading is used in the widgetset class to enable bi-directional text display for languages like Arabic and Hebrew.

The return value is True when the BiDiMode property is set to a value other than bdLeftToRight.

Use the UseRightToLeftAlignment property to set the alignment for text values in the menu.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.