ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
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
Returns the text with ellipsis displayed in an Edit, Combo Box or Static 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
sTextWithEllipsis is string = TextEllipsis(EDT_Edit1, "Welcome to your new office")
// sTextWithEllipsis is set to: "Welcome to..."
Syntax
<Result> = TextEllipsis(<Control name> , <Text> [, <Management of ellipsis>])
<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.
<Management of ellipsis>: Optional Integer constant
Ellipsis management mode.
ellipsisDisabledThe "..." characters are not used. The ellipsis is not added.
ellipsisEnd
(Default value)
The "..." characters replace the characters that cannot be displayed at the end of the control.
ellipsisPathThe "..." characters replace characters in the middle of the text. This constant should be used to display a path to a file.
Component: wd290obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help