# Utilities

*PLUS/WINUTL/LISTPOPUP;SUBMENU | Invoke List Box Popup Sub-Menu

## Invocation

CALL "*plus/winutl/listpopup;SubMenu", ctl_id

Where:

ctl_id | Required | Input | This value contains the identifier of the List Box (or Grid) that you want use as the source for the popup options.

## Description

This routine will invoke the standard popup menu that is provided with PxPlus for List Boxes and/or Grids. The options provided by the utility are:

- Copy all or portions of the List Box to the Clipboard.
- Export the records to a text file suitable as input to a spreadsheet.
- Find a string/pattern with the contents of the List Box/Grid.
- Print the contents of a List Box.

#### Note:
The value passed in the ctl_id must refer to a List Box or Grid.

(The *Plus/Winutl/ListPopup;SubMenu utility was added in PxPlus v10.00.)