tab-along-grid

Function

Package: common-graphics

Arguments: grid backp

Moves the keyboard focus to the "next" or "previous" cell within a grid-widget. The "next" cell is defined as follows:

the cell immediately to the right of the currently-focused cell if there is a next cell in the same grid-section,

or else the leftmost cell in the next row down if there is a next row in the same grid-section,

or else the upper left cell in the same grid-section.

If backp is true, then the focus is moved in the opposite direction as what was just described.

The TAB key performs this functionality when a grid-widget has the keyboard focus and the tabstop property of the grid-widget is turned off. (If tabstop is turned on, then the tab key will tab to the next widget rather than tabbing to the next cell within the grid-widget.)

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.