Row-Color-Pattern
This property sets a color pattern to be applied to the List-Box control’s rows. The first color specified here is used for the first pattern row, the second color of the second pattern row and so on. The pattern is then applied to the whole control.
To obtain a "zebra" effect, add the following definition to the List-Box control:
ROW-COLOR-PATTERN = (257, 513) |
Foreground and background color values are combined and therefore RGB colors are not supported. See "
Color management" for further details.
Example - Modify a list-box to set its background color patern
procedure division. ... modify screen-1-lb-1 row-color-pattern 65 row-color-pattern 225 row-color-pattern 289 ... |