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

MWAPI - Build Mode Events

Draft MDC Standard

9.1.10 Build Mode Events

Build mode events are identified by a betype value.

For a build-mode window all the normal window state, pointer, keyboard, focus and help events can occur for the window. The pointer events PDOWN, PDRAG, PMOVE and PUP can occur while the pointer is over the window or is over a gadget on the window.

Additional build mode events can occur as follows.

A gadget-select event, indicated by a betype value equal to "GSELECT", occurs when the user selects a gadget, or when a selected gadget becomes the principal selection, or when a selected gadget loses the status of principal selection.

A gadget-unselect event, indicated by a betype value equal to "GDESELECT", occurs when the user unselects a gadget.

A gadget-resize event, indicated by a betype value equal to "GRESIZE", occurs when the user resizes a gadget.

A gadget-move event, indicated by a betype value equal to "GMOVE", occurs when the user moves a gadget. It does not occur when a gadget’s origin moves as a result of the user resizing it.

A menu-command event, indicated by a betype value equal to "MCOMMAND", occurs when the user selects a menu choice.

If a track event, indicated by a betype value equal to "TRACK", is defined and enabled, dragging the pointer on the window will cause a tracking rectangle to be displayed. One corner of the tracking rectangle is anchored at the point where the drag starts, and the diagonally-opposite corner tracks the pointer, which is constrained to the window’s viewport. If the SNAPPOS gridattr is TRUE the anchor point is adjusted to the nearest grid point. If the SNAPSIZE gridattr is TRUE the tracking point is adjusted to the nearest grid point. Tracking can be canceled by means of a platform-defined key sequence. Otherwise, the track event occurs when the user releases the pointer button after dragging the rectangle.

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:12:18.

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