[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif and CDE 2.1 Style Guide Reference
Internal Navigation
Reference
Description
Internal navigation is the use of the directional keys (and related keys)
for internal purposes within a control -- primarily to move the active
cursor within the control, but also for other purposes such as changing a
value displayed or represented by a control.
Figure 37. Internal Navigation Within a List Box.
When to Use
RecommendedUse internal navigation when the active cursor needs to be moved within
the control.
RecommendedUse internal navigation when manipulating elements within a control.
Guidelines
RequiredIf a control uses internal navigation to move an element cursor among
elements within a control, follow all the rules for control navigation,
proceeding as if the elements in the control were controls within a tab group.
RequiredAllow the directional keys to move a graphics cursor one unit in the
indicated direction, where a unit is generally a pixel.
RequiredAllow the directional keys augmented by Ctrl to move a graphics cursor
multiple units in the indicated direction.
RequiredAllow Home (or Begin) and End to move a graphics cursor to the leftmost
and rightmost ends, respectively, of the data being viewed in the control. For
information on bidirectional and vertical language support, see Chapter
11.
RequiredAllow Ctrl Home (or Ctrl Begin) and Ctrl End to do one of the
following:
Move the graphics cursor to the topmost and bottommost ends, respectively,
of the data being viewed (recommended).
Move the graphics cursor to the top leftmost and bottom rightmost ends,
respectively, of the data being viewed. For information on bidirectional and
vertical language support, see Chapter
11.
RequiredDo not allow a graphics cursor to wrap from one edge to the opposite edge.
RequiredWhen the purpose of a control is to allow a positional indicator to be set
to a value (for example, an arm in a slider), then when the control has focus,
allow directional keys to move the positional indicator one unit (not
necessarily one pixel) in the corresponding direction.
RequiredWhen the purpose of a control is to allow a positional indicator to be set
to a value, allow directional keys augmented by Ctrl to move the positional
indicator multiple units in the indicated direction.
RecommendedIf a control with a positional indicator has major and minor tick marks,
and if minor tick marks indicate each single unit, then allow directional keys
augmented by Ctrl to move to major tick marks.
RequiredIf a control with a positional indicator has only one degree of freedom,
then do one of the following:
Make both vertical and horizontal navigation have the same effect.
Support either vertical or horizontal navigation.
RequiredIf a control with a positional indicator has only one degree of freedom,
then allow Home (or Begin) to move the positional indicator to its initial
position, and End to move it to its final position.
RequiredIf vertical and horizontal navigation have different effects on a
positional indicator, then allow Home (or Begin) to move the indicator as far
as it can go toward the initial or final horizontal positions. Allow Ctrl Home
(or Ctrl Begin) and Ctrl End to move the indicator as far as it can go towards
the initial or final vertical position.
RequiredIf you use horizontal or vertical navigation to switch to a value from
among a linear sequence of values, then make Home (or Begin) switch to the
first such value, and End switch to the last such value.
RecommendedIf the user can use a control to set a value from among a linear sequence
of values, then when the control has focus, allow horizontal navigation,
vertical navigation, or both, to switch from one value to another.
RecommendedIf additional internal navigation techniques are required, extend the
navigation model as needed, but do not deviate from it unnecessarily. Some
situations that may require additional navigation techniques are:
Controls in which the elements are densely packed or are organized into
layers
Controls that use three-dimensional navigation
Controls that organize elements hierarchically
Essential Related Topics
For more information, see the Control Navigation, Cursor, Mnemonic, and
Tab Group reference pages.
Supplemental Related Topics
For more information, see the Control, Keyboard (Device), Push Button
(Predefined), Scroll Bar (Control), and Window Navigation reference pages.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]