ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • List Box control
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 24, Ellipse is kept for backward compatibility. This property has been replaced with Ellipsis.
The Ellipsis property is used to determine and change the truncation mode with ellipses in:
  • a Static Text control,
  • an Edit control,
  • a List Box control,
  • WINDEVWindows a Combo Box control,
  • a button,
  • a Static table column,
  • a Static Text control in a report.
Reminder The Ellipsis indicates that a label is too long to be displayed in full. The following characters are then added to the wording: "...".. 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
iPhone/iPadMac CatalystJava The Ellipsis property is only available for Static and Edit controls.
Android The Ellipsis property is only available for Static Text controls, Edit controls and table columns.
IOS Widget The Ellipsis property is only available for Static Text controls.
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:
ellipsisDisabledThe "..." characters are not used. The ellipsis is not displayed.
ellipsisEndAn ellipsis ("...") replaces the characters that cannot be displayed at the end of the control.
ellipsisPathAn ellipsis ("...") replaces the characters in the middle of the text. This constant can only be used on strings containing a file path.
<Control used>: Control name
  • Name of window control that must support the ellipsis:
    • Wording,
    • Edit control,
    • Button,
    • List Box control,
    • WINDEVWindows Combo Box control,
    • Static column
  • Name of Static Text 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 only available for Static Text controls, Edit controls and table columns.
IOS Widget This property is only available for Static Text 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:
    • Wording,
    • Edit control,
    • Button,
    • List Box control,
    • WINDEVWindows Combo Box control,
    • Static column
  • Name of Static Text 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 only available for Static Text controls, Edit controls and table columns.
IOS Widget This property is only available for Static Text controls.
<New mode>: Integer constant (or combination of constants)
New truncation mode with ellipses for the specified control.
ellipsisDisabledThe "..." characters are not used. The ellipsis is not displayed.
ellipsisEndAn ellipsis ("...") replaces the characters that cannot be displayed at the end of the control.
ellipsisPathAn ellipsis ("...") replaces the characters in the middle of the text. This constant can only be used on strings containing a file path.
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 only available for Static Text controls, Edit controls and table columns.
  • IOS Widget This property is only available for Static Text controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/04/2024

Send a report | Local help