|
|
|
|
TextEllipsis (Function) In french: TexteEllipse 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.
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. | | ellipsisDisabled | The "..." 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. | ellipsisPath | The "..." characters replace characters in the middle of the text. This constant should be used to display a path to a file. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|