Operating List Box Controls
When you set a list box control to any mode other than indicator mode, you can select items from the keyboard or with the mouse.
You can operate a list box control from the keyboard in the following ways:
- Press the up arrow key to highlight the previous list item.
- Press the down arrow key to highlight the next list item.
- Press <Home> to scroll to the top of the list.
- Press <End> to scroll to the bottom of the list.
- Press <Page Up> to scroll up one page.
- Press <Page Down> to scroll down one page.
- Use the Quick Type feature to locate a list item. For example, when you press the <M> key, Quick Type takes you to the first occurrence of an item beginning with "M." When you type a complete item name Quick Type takes you to that item. When you delay one second or more and then press a key, the Quick Type buffer is flushed.
- Press the left arrow key to go to the previous item in the Quick Type buffer.
- Press the right arrow key to go to the next item in the Quick Type buffer.
- If the list box is in check mode, press <spacebar> to toggle the check mark of the current item.
You can operate a list box control with the mouse in the following ways:
- Click an item to highlight it; this action toggles the check mark when in check mode.
- Hold the mouse button down on either arrow to scroll through the list.
- Drag the scroll bar marker to a new position.
- Click above the scroll bar marker to scroll up one page.
- Click below the scroll bar marker to scroll down one page.
You can generate a commit event when a list box is set to hot or validate mode in the following ways:
- When the control is set to Check Mode, select an item in the list box and press <spacebar> or click it.
- When the control is not set to Check Mode, select an item in the list box and press <Enter> or double-click it.