Was this helpful?
TextDisplayBehavior Attribute
Data Type: integer
4GL Access: RW
The TextDisplayBehavior attribute determines how the text label will appear when there is more text than will fit into the button. This attribute lets the user specify one of different types of ellipses.
Valid values are:
TDB_DEFAULT
TDB_END_ELLIPSIS
TDB_PATH_ELLIPSIS
TDB_WORD_ELLIPSIS
Descriptions of system constant values and their numeric equivalents are listed in Text Display Behavior Settings for ButtonFields.
Assume that the text label is “This is a sample \string”. The following example shows how the string would be displayed with different values of the TextDisplayBehavior attribute:
TDB_DEFAULT               |This is a samp|
TDB_END_ELLIPSIS          |This is a s...      |
TDB_PATH_ELLIPSIS         |This...\string|
TDB_WORD_ELLIPSIS         |This is a s...|
Last modified date: 06/25/2024