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

MWAPI - NEXTG

Draft MDC Standard

5.4.24 NEXTG wattribute

Definition

NEXTG indicates the action that occurs if this window receives focus but no gadget within the window receives focus. NEXTG only has effect the first time a window receives focus after it is created or the first time a window receives focus after its VISIBLE wattribute value changes from FALSE to TRUE.

If an application attempts to assign a value to NEXTG that does not identify a gadget that has been defined for the window, an error condition occurs with an ecode = "M49" and $EREF containing a value that indicates the ssvn reference for which the error occurred.

If the NEXTG wattribute for window W identifies a gadget G that cannot get focus, that gadget’s NEXTG elattribute determines where focus goes. This process is repeated for successive Gs until (a) gadget G’s NEXTG elattribute identifies a previously identified gadget G or gadget G’s NEXTG elattribute is not specified, in which case focus remains at window W; or (b) gadget G’s NEXTG elattribute identifies a gadget Gn which can get focus is reached, in which case focus goes to gadget Gn.

The effect is not specified if NEXTG identifies a gadget that has been destroyed after the value identifying it was assigned to NEXTG.

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

Domain gname
Access Create, Modify, Reference
Default 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 14-Nov-2023, 22:01:06.

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