PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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 the edit control, Static control or Combo Box control used to calculate the ellipsis of the text.
<Text>: Character string (with quotes)
Text whose text with ellipsis must be calculated.
<Management of Ellipsis>: Optional Integer constant
Mode for managing the ellipsis.
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 the control.
ellipsisDisabledThe "..." characters are not used. The ellipsis is not performed.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment