Common Desktop Environment: Style Guide and Certification Checklist

CommandBox

 

n/a 

 

 

Required 

7-6: 

If your application uses a command box, it is composed of a text component with a command-line prompt for text input and a list component for a command history area. The list uses either the single selection or browse selection model.  

This specification ensures the consistent appearance and operation of a command box across applications. 

Recommended 

7-7: 

When an element of a command box list is selected, its contents are placed in the text area.  

This specification provides a convenient way of selecting a previously entered command. 

Required 

7-8: 

The list navigation actions Up Arrow, Down Arrow, Control+Begin, and Control+End are available from the text component for moving the cursored element within the list and thus changing the contents of the text.  

These actions provide a convenient way to choose a command from the list while focus remains in the text component. 

Required 

7-9: 

The default action of the command box passes the command in the text area to the application for execution and adds the command to the end of the list. 

Maintaining a history of commands provides a convenient means of entering often-used commands.