ModalListWindow (id, table, search, headingString, columnsString [, modes])

Definition:  A variant of CreateListWindow for displaying a list of records in a modal window. ModalListWindow does not automatically provide double-click-to-edit-in-a-new-window functionality.

The window's first control (object #1) should be a list object. It will be replaced with a record list for the requested database table named by the table parameter. The list will be filtered according to the search string.

The window should have OK and Cancel buttons. The return value is the identifier of the last button clicked.

Availability:  available within MWScript handlers.

See Also:

CreateListWindow: Instantiate a modeless custom database table list window

CreateWindow: Instantiate a modeless custom window

ModalWindow: Instantiate a modal custom window