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

MWAPI - FOCUS

Draft MDC Standard

4.1.7 FOCUS dattribute

Definition

FOCUS identifies the window and gadget, if any, which has focus; that is, to which keyboard and pointer input associated with this display are sent. If the window or gadget which has focus is destroyed, the value is platform dependent.

If an application assigns a value to FOCUS which identifies a window or gadget defined in ^$WINDOW, that window or gadget receives focus.

If an application sets focus to a window that is iconified, the window is restored.

If an application attempts to set focus to a window or gadget that is not currently visible and active, or to set focus to a gadget that is incapable of getting focus in the underlying windowing platform, or to set focus to a window that is disabled because of the value of the MODAL wattribute of another window, or to set focus to a window with a DISPLAY wattribute value that identifies a different display, an error condition occurs with an ecode = "M49" and $EREF containing a value that indicates the ssvn reference for which the error occurred.

Domain focusloc
Access Modify, Reference
Default Platform
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)