|
|
|
|
- List Box control
- Limitations
Ellipsis (Property) In french: Ellipsis
Warning
From version 24, Ellipse is kept for backward compatibility. This property is replaced by Ellipsis.
The Ellipsis property is used to determine and change the truncation mode with ellipses in: - a Static control,
- an edit control,
- a List Box control,
 a Combo Box control, - a button,
- a Static table column,
- a Static control in a report.
Reminder: The ellipsis is used to indicate that a caption is too long to be entirely displayed. The following characters are added to the caption: "...". The Ellipsis property is used to add these characters.
// Change truncation mode with ellipses in EDT_MyControl IF EDT_MyControl.Ellipsis = ellipsisEnd THEN EDT_MyControl.Ellipsis = ellipsisPath
Syntax
Determining the truncation mode with ellipses Hide the details
<Result> = <Control used>.Ellipsis
<Result>: Integer constant Current truncation mode with ellipses for the specified control: | | ellipsisDisabled | The "..." characters are not used. The ellipsis is not added. | ellipsisEnd | The "..." characters replace the characters that cannot be displayed at the end of control. | ellipsisPath | The "..." characters replace characters in the middle of the text. This constant should be used to display a path to a file. |
<Control used>: Control name - Name of window control that must support the ellipsis:
- Static,
- Edit control,
- Button,
- List Box control,
 Combo Box control, - Static column
- Name of Static control found in the report that must support the ellipsis.
Changing the truncation mode with ellipses Hide the details
<Control used>.Ellipsis = <New mode>
<Control used>: Control name - Name of control that will manage the ellipsis:
- Static,
- Edit control,
- Button,
- List Box control,
 Combo Box control, - Static column
- Name of Static control found in the report that must support the ellipsis.
<New mode>: Integer constant (or combination of constants) New truncation mode with ellipses for the specified control. | | ellipsisDisabled | The "..." characters are not used. The ellipsis is not added. | ellipsisEnd | The "..." characters replace the characters that cannot be displayed at the end of control. | ellipsisPath | The "..." characters replace characters in the middle of the text. This constant should be used to display a path to a file. |
Remarks List Box control The Ellipsis property should not be used in a List Box control with a horizontal scrollbar. Two cases may occur: - The horizontal scrollbar is used to view the entire row.
- The Ellipsis property is used. The row is truncated but the horizontal scrollbar becomes useless.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|