Figure 259 shows how to specify the SFLMLTCHC keyword:
Figure 259. Specifying the SFLMLTCHC Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A A R SFLRCD SFL A CTLFLD 1Y 0H SFLCHCCTL A F1 10A O 6 10 A R SFLCTLRCD SFLCTL(SFLRCD) A SFLMLTCHC A SFLPAG(5) SFLSIZ(&SFLSIZ); A SFLDSP SFLDSPCTL A ROLLUP(10) A 10 SFLEND(*SCRBAR) A F3 5S 0H SFLSCROLL A F2 4S 0H SFLRCDNBR(CURSOR *TOP) A SFLSIZ 5S 0P A 1 30'Panel Title' A 4 5'Select Multiple Items:'
In this example, when using a graphical display station attached to a controller that supports an enhanced interface for nonprogrammable work stations, a multiple-choice list looks like this:
Figure 260 shows how to specify what color the items on the list should have on a color display. Available items are displayed in red. Selected items are displayed in blue. Unavailable items are displayed in yellow. The CHCAVAIL, CHCSLT, and CHCUNAVAIL keywords can also be used to set the display attributes of the items on the list. See the descriptions of these keywords in this book for examples of setting display attributes.
Figure 260. Specifying the SFLMLTCHC Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A A R SFLRCD SFL A CTLFLD 1Y 0H SFLCHCCTL A F1 10A O 6 10 A R SFLCTLRCD SFLCTL(SFLRCD) A SFLMLTCHC A SFLPAG(5) SFLSIZ(&SFLSIZ); A SFLDSP SFLDSPCTL A ROLLUP(10) A CHCAVAIL((*COLOR RED)) A CHCSLT((*COLOR BLU)) A CHCUNAVAIL((*COLOR YLW)) A 10 SFLEND(*SCRBAR) A F3 5S 0H SFLSCROLL A F2 4S 0H SFLRCDNBR(CURSOR *TOP) A SFLSIZ 5S 0P A 1 30'Panel Title' A 4 5'Select Multiple Items:'
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.