Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Motif and Common Desktop Environment: Style Guide Reference > Motif and CDE Reference Topics (G - Q)

Prefix Completion

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

Prefix Completion — Reference

Description

Prefix completion is an internal navigation technique used in a combination text-list control in which entering a printing character immediately moves the cursor in a text-display field to the next item whose textual label begins with the prefix.

When to Use

Recommended

Use prefix completion in combination text-list controls for index and topic searching.

Guidelines

Behavior
Required

When the user enters a printing character into a text-display field with prefix completion, move the cursor in the associated list to the next item that matches the prefix. Then, select the item and place its text contents into the text-display field. Leave the text cursor in place after the character that was just typed.

Required

When the user enters a printing character into a text-display field with prefix completion, and there is no item matching the prefix, generate a warning signal. Do not make any changes to the appearance of the list or of the text-display field.

Required

When the user enters a printing character in a text-display field with prefix completion, and the associated list is not displayed, do one of the following:

  • Display the list if also displays the list.

  • Navigate in the list as indicated and select the appropriate list item, displaying it in the text field without displaying the list.

Recommended

When focus is in a text-entry field that uses prefix completion, allow Ctrl and Ctrl to move the cursor and select the next or previous item that matches the prefix. Place its text contents into the text-display field, but leave the text cursor in place.

Recommended

Use browse selection in the associated list when prefix completion is in use.

Essential Related Topics

For more information, see the Combination Text-List Control (Control Type), List Box (Control), Prefix Navigation, Text-Display Field (Control), and Text-Entry Field (Control) reference pages.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.