ContentsIndexPreviousNext

STYLES

UNSORTED Normally the items in the list are automatically sorted alphanumerically. Alternatively, the UNSORTED style causes the list to be shown in the order in which the items are added.

PAGED This style specifies that the list box is to be a paged list box. Paged list boxes are typically used when the number of items in the list is too large for a standard list box. See Chapter 3, section 3.9 for a complete description of paged list boxes and an introduction to how they're programmed.

NO-BOX This style removes the box that normally displays around the listed items.

BOXED This style indicates that a box should be placed around a list box. It is the default for graphical versions of
ACUCOBOL-GT. For character-based versions, the default depends on the configuration variable LISTS-UNBOXED.

3-D This style behaves identically to the 3-D ENTRY FIELD style of the same name.

NOTIFY-DBLCLICK This style causes the list box to generate CMD-DBLCLICK events. Normally, double-clicking on an item in the list box has no special effect. If you specify this style, double clicking on an item will generate a CMD-DBLCLICK event. This will usually terminate the current ACCEPT statement and allow your program to act on the selection immediately. You can also use an associated EXCEPTION PROCEDURE in the Screen Section to perform immediate processing. See also the TERMINATION-VALUE and EXCEPTION-VALUE properties below for related information.

NOTIFY-SELCHANGE This style causes the list box to generate NTF-SELCHANGE events. Normally, selecting an item in the list box has no special effect. If you specify this style, a selection change will generate an NTF-SELCHANGE event. This allows your program to act immediately on the new selection.

NO-SEARCH This style affects only paged list boxes. It inhibits the box's built-in search facility. If this style is in effect, the user can move around in the paged list box with the arrow buttons and keyboard keys, but cannot bring up the search box. To use this style within the AcuBench Screen Designer, add it in the "Additional Properties" box. (create)