PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • List Box control
  • Limitations
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
Warning
From version 24, Ellipse is kept for backward compatibility. This property is replaced by Ellipsis.
The Ellipsis property is used to determine and change the truncation mode with ellipses in:
  • a Static control,
  • an edit control,
  • a List Box control,
  • Versions 17 and later
    WINDEVWindows a Combo Box control,
    New in version 17
    WINDEVWindows a Combo Box control,
    WINDEVWindows a Combo Box control,
  • a button,
  • a Static table column,
  • Versions 23 and later
    a Static control in a report.
    New in version 23
    a Static control in a report.
    a Static control in a report.
Reminder: The ellipsis is used to indicate that a caption is too long to be entirely displayed. The following characters are added to the caption: "...". The Ellipsis property is used to add these characters.
For example:
Ellipsis at the end of the text
Ellipsis in the middle of the text
Versions 16 and later
Android This property is now available for Android applications.
New in version 16
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 20 and later
Android This property is now available for table columns in Android applications.
New in version 20
Android This property is now available for table columns in Android applications.
Android This property is now available for table columns in Android applications.
iPhone/iPadMac CatalystJava The Ellipsis property is only available for Static and Edit controls.
Android The Ellipsis property is only available for Static controls, Edit controls and table columns.
IOS Widget The Ellipsis property is only available for Static controls.
Versions 23 and later
Reports and Queries This property is now available for reports.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is available for reports only.
New in version 23
Reports and Queries This property is now available for reports.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is available for reports only.
Reports and Queries This property is now available for reports.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is available for reports only.
Example
// Change truncation mode with ellipses in EDT_MyControl
IF EDT_MyControl.Ellipsis = ellipsisEnd THEN EDT_MyControl.Ellipsis = ellipsisPath
Syntax

Determining the truncation mode with ellipses Hide the details

<Result> = <Control used>.Ellipsis
<Result>: Integer constant
Current truncation mode with ellipses for the specified control:
ellipsisPathThe "..." characters replace characters in the middle of the text. This constant should be used to display a path to a file.
ellipsisEndThe "..." characters replace the characters that cannot be displayed at the end of control.
ellipsisDisabledThe "..." characters are not used. The ellipsis is not added.
<Control used>: Control name
  • Name of window control that must support the ellipsis:
    • Static,
    • Edit control,
    • Button,
    • List Box control,
    • Versions 17 and later
      WINDEVWindows Combo Box control,
      New in version 17
      WINDEVWindows Combo Box control,
      WINDEVWindows Combo Box control,
    • Static column
  • Versions 23 and later
    Name of Static control found in the report that must support the ellipsis.
    New in version 23
    Name of Static control found in the report that must support the ellipsis.
    Name of Static control found in the report that must support the ellipsis.
iPhone/iPadMac CatalystJava This property is available for Static and Edit controls.
Android This property is available for the Static controls, the edit controls and the table columns.
IOS Widget This property is only available for Static controls.

Changing the truncation mode with ellipses Hide the details

<Control used>.Ellipsis = <New mode>
<Control used>: Control name
  • Name of control that will manage the ellipsis:
    • Static,
    • Edit control,
    • Button,
    • List Box control,
    • Versions 17 and later
      WINDEVWindows Combo Box control,
      New in version 17
      WINDEVWindows Combo Box control,
      WINDEVWindows Combo Box control,
    • Static column
  • Versions 23 and later
    Name of Static control found in the report that must support the ellipsis.
    New in version 23
    Name of Static control found in the report that must support the ellipsis.
    Name of Static control found in the report that must support the ellipsis.
iPhone/iPadMac CatalystJava This property is available for Static and Edit controls.
Android This property is available for the Static controls, the edit controls and the table columns.
IOS Widget This property is only available for Static controls.
<New mode>: Integer constant (or combination of constants)
New truncation mode with ellipses for the specified control.
ellipsisPathThe "..." characters replace characters in the middle of the text. This constant should be used to display a path to a file.
ellipsisEndThe "..." characters replace the characters that cannot be displayed at the end of control.
ellipsisDisabledThe "..." characters are not used. The ellipsis is not added.
Remarks

List Box control

The Ellipsis property should not be used in a List Box control with a horizontal scrollbar. Two cases may occur:
  • The horizontal scrollbar is used to view the entire row.
  • The Ellipsis property is used. The row is truncated but the horizontal scrollbar becomes useless.

Limitations

  • The Ellipsis property cannot be used on an RTF Edit control or RTF text.
  • If the Ellipsis property is used on a column of a multiline table, the multiline mode will be disabled.
  • The Ellipsis property is not taken into account when using drawing functions in list boxes and combo boxes.
  • iPhone/iPadMac CatalystJava This property is available for Static and Edit controls.
  • Android This property is available for the Static controls, the edit controls and the table columns.
  • IOS Widget This property is only available for Static controls.
  • Universal Windows 10 App This property is available for reports only.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment