ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the text with ellipsis displayed in an Edit, Combo Box or Static Text control in a window.
Caution:
  • This function cannot be used to display the text in the control.
  • This function is available for controls in a window. This function cannot be used for controls in a report.
Example
sTexteAvecEllipse is string = TexteEllipse(SAI_Saisie1, "Je vous souhaite la bienvenue")
// sTexteAvecEllipse vaut: "Je vous souhaite ..."
Syntax
<Result> = TextEllipsis(<Control name> , <Text> [, <Ellipsis management>])
<Result>: Character string
Text with ellipsis corresponding to the text displayed in the specified control (according to the control style).
<Control name>: Character string
Name of the Edit, Static or Combo Box control used to calculate the text ellipsis. This control must be in a window.
<Text>: Character string
Text whose text with ellipsis must be calculated.
<Ellipsis management>: Optional Integer constant
Ellipsis management mode.
ellipsisDisabledThe "..." characters are not used. The ellipsis is not displayed.
ellipsisEnd
(Default value)
An 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 should be used to display a path to a file.
Component: wd300obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help