Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

MWAPI - MODAL

Draft MDC Standard

5.4.23 MODAL wattribute

Definition

A window for which the MODAL wattribute is defined is referred to as a modal window.

When a modal window is visible, other windows may be disabled. A MODAL wattribute value equal to "PARENT" indicates that the modal window disables only its parent window. A MODAL wattribute value equal to "ANCESTORS" indicates that the modal window disables all of its ancestor windows. A MODAL wattribute value equal to "APPLICATION" indicates that the modal window disables all active windows defined in ^$WINDOW except itself.

If an application attempts to create a child window of a modal window which is not also a modal window, an error condition occurs with an ecode = "M54" and $EREF containing a value that indicates the ssvn reference for which the error occurred.

If the window is in build mode the wattribute may be set and referenced but is ignored.

Domain modaltype
Access For an MTERM window: Reference
For other window types: Create, Reference
Default For an MTERM window: "APPLICATION"
For other window types: None
Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 29-Nov-2011, 20:03:11.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)