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

MWAPI - SCROLL

Draft MDC Standard

6.4.39 SCROLL elattribute

Definition

SCROLL specifies scrolling behavior for a gadget’s data.

If the value of the hsize component of SCROLL is greater than 0 (zero), horizontal scrolling can occur to reveal horizontal coordinates from 0 to hsize. If the value of the hsize component of SCROLL is equal to 0 (zero), horizontal scrolling can occur but no explicit horizontal range is specified for the data. If hsize is omitted, horizontal scrolling cannot occur.

If the value of the vsize component of SCROLL is greater than 0 (zero), vertical scrolling can occur to reveal vertical coordinates from 0 to vsize. If the value of the vsize component of SCROLL is equal to 0 (zero), vertical scrolling can occur but no explicit vertical range is specified for the data. If vsize is omitted, vertical scrolling cannot occur.

The unit of measure is determined in the same manner as is specified for the SIZE elattribute.

For a document gadget, the hsize component of SCROLL also specifies the width at which wrapping occurs.

A scroll bar may or may not be present when it is not required.

If an application attempts to assign a SCROLL value that contains a negative value for hsize or vsize, an error occurs with an ecode = "M47" and $EREF containing a value that indicates the ssvn reference for which the error occurred.

Domain size
Access Create, Reference
Default emptystring
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:05:40.

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