PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The RightToLeft property is used to get the actual writing direction on a control, column, window or report.
The writing direction can be modified by the TextDirection property. If the writing direction in the control is the same direction defined in the project options, the TextDirection property returns the tdDefault constant. In this case, the RightToLeft property is used to get 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.
WEBDEV - Server codeUniversal Windows 10 AppiPhone/iPadIOS WidgetMac Catalyst Caution: This property is available for reports only.
Versions 18 and later
iPhone/iPad This property is now available for reports and their controls in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for reports and their controls in iPhone/iPad applications.
iPhone/iPad This property is now available for reports and their controls in iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode only for reports and their controls.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode only for reports and their controls.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode only for reports and 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>: Name of the window, report or control
Name of the element whose writing direction is requested:
  • Name of the window,
  • Name of the window controls,
  • Versions 15 and later
    Name of the report,
    New in version 15
    Name of the report,
    Name of the report,
  • Versions 15 and later
    Name of the report controls.
    New in version 15
    Name of the report controls.
    Name of the report controls.
WEBDEV - Server codeUniversal Windows 10 AppiPhone/iPadIOS WidgetMac Catalyst This parameter corresponds to the name of the report or the name of a report control.
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment