PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the text with ellipsis displayed in an edit control, in a Combo Box control or in a Static control.
Caution: This function cannot be used to display the text in the control.
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 (with or without quotes)
Name of edit control, Static control or Combo Box control used to calculate the text ellipsis.
<Text>: Character string (with quotes)
Text whose text with ellipsis must be calculated.
<Management of ellipsis>: Optional Integer constant
Ellipsis management mode.
ellipsisPathThe "..." characters replace characters in the middle of the text. This constant should be used to display a path to a file.
ellipsisEnd
(Default value)
The "..." characters replace the characters that cannot be displayed at the end of control.
ellipsisDisabledThe "..." characters are not used. The ellipsis is not performed.
Component : wd250obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment