PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..RightToLeft is used to find out the actual writing direction, effective on a control, a column, a window or a report.
The writing direction can be modified by ..TextDirection. If the writing direction used in the control is the writing direction defined in the project options, ..TextDirection returns the tdDefault constant. In this case, ..RightToLeft is used to find out the actual writing direction.
This property applies to:
  • WINDEV A window or the controls of a window (except for: Subscripted control, Web Camera control, Splitter, Calendar and Organizer).
  • Versions 15 and later
    A report or the following report controls:
    • Static control,
    • Calculated control,
    • RTF text control,
    • Preset control,
    • Link and Edit control,
    • Versions 17 and later
      Chart control.
      New in version 17
      Chart control.
      Chart control.
    New in version 15
    A report or the following report controls:
    • Static control,
    • Calculated control,
    • RTF text control,
    • Preset control,
    • Link and Edit control,
    • Versions 17 and later
      Chart control.
      New in version 17
      Chart control.
      Chart control.
    A report or the following report controls:
    • Static control,
    • Calculated control,
    • RTF text control,
    • Preset control,
    • Link and Edit control,
    • Versions 17 and later
      Chart control.
      New in version 17
      Chart control.
      Chart control.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode for the reports and for their controls.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode for the reports and for their controls.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode for the reports and for their controls.
Example
WINDEV
// The writing direction used in the column is the default direction
TABLE_Table1.COL_Column2..TextDirection = tdDefault
// Find the default writing direction
IF TABLE_Table1.COL_Column2..RightToLeft = True THEN
        EDT_Edit1..TextDirection = tdRightToLeft
END
Syntax

Finding out the writing direction actually used Hide the details

<Result> = <Element name>..RightToLeft
<Result>: Boolean
  • True if the actual writing direction goes from right to left,
  • False if the actual writing direction goes from left to right.
<Element name>: Character string (with or without quotes)
Name of the element whose writing direction is requested:
  • Name of the window,
  • Name of the window controls,
  • Versions 15 and later
    Name of report,
    New in version 15
    Name of report,
    Name of report,
  • Versions 15 and later
    Name of the report controls.
    New in version 15
    Name of the report controls.
    Name of the report controls.
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment