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

MWAPI - DEFBUTTON

1995 Version of ANSI (Equivalent to Current ISO Version) of Standard

5.4.5 DEFBUTTON wattribute

Definition

DEFBUTTON specifies the default push button for the window. If the value of DEFBUTTON specifies a gadget which is a child of the window and which has a TYPE attribute value of "BUTTON", the user can "push" the specified button, that is cause it to generate a SELECT event, by pressing a key on the keyboard. The specific key to be pressed is defined by the underlying windowing platform.

If an application attempts to assign a value to DEFBUTTON which (a) does not specify a gadget which is a child of the window or (b) does not identify a gadget with a TYPE elattribute value equal to "BUTTON", an error condition occurs with $ECODE containing ",M?7," and $EREF containing a value that indicates the ssvn reference for which the invalid DEFBUTTON value was assigned.

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

Domain gname
Access Create, 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.

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

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