DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing a SCOadmin manager

Navigating in character mode

Movement in the character environment is based on ``tab groups'', where different segments (subforms) are traversed by pressing the <Tab> key. For example, a dialog box might have a set of radio buttons, a set of text fields, and a OK-Cancel-Help set of buttons in the bottom of the frame. The <Tab> key would be used to move between each of the three areas, while the arrow keys would be used to move between a group of related widgets.

SaSetFocus(TCL_ADM) describes the interface for defining traversal. Focus lists and tab groups control the movement of widget focus after <Return> and <Tab> keystrokes, respectively. In some instances, widgets within embedded subforms will not be reachable via <Tab> unless they are explictly included by the application into a tab group.

Movement should be from left to right, top to bottom. Be sure tab groups are visually identifiable. Configure <Tab> for expected usage based on task flow for each screen.

The <Esc> key should cancel the dialog or operation. This can be accomplished by using -cancelButton CANCEL in the VtFormDialog(VTCL) call, where CANCEL is the identifier for the cancel pushbutton.

See also:


Next topic: Using print controls
Previous topic: Dialog boxes

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003