Combo Box Control

A combo box is an entry-capable control which contains a drop down list of available entry options.

Client support

   Newlook Smartclient

   Newlook Server

Use

This control combines the features of a TextBox control and drop down list — users can enter information in the text box or select an item from the list portion of the control. Alternatively, if you want to restrict entry to just the items in the drop down list, changing the Style property to ComboDropDownList, will disable the text entry portion of the control and restrict entry to items on the drop down list.

Host generated combo boxes

A combo box control is automatically generated in the GUI whenever the recognition engine detects an entry field associated with multiple field choice values on the host screen. A command combo box control is generated when the recognition engine identifies a command entry field on the screen.

Combo vs Option button recognition

In choosing whether a combo box or option buttons will be generated, the Newlook recognition engine will try to determine if the field choice values associated with the entry field are a complete set of options or not. If there is some indication that additional values will be accepted in the field, then a combo box will be generated. Examples of this include: options that are inconsistent, the more keyword or the ... characters. If the recognition engine identifies a complete set of field choice values, then option buttons will be generated.

The following are a small example of the types of screen element combinations that will result in the automatic generation of a combo box control:

 

It is possible to specify various configuration rules which govern how combo boxes are generated, and what will be displayed in them. Refer more information on additional configurations, refer to the Combo Field Options topic.

Inserted combo box controls

Combo box controls are useful when you need to provide multiple options to the user, without taking up too much space on the screen.

Combo box vs list box

When the Style property of a combo box control is set to ComboDropDownList, user entry is restricted to items in the drop down list. Therefore its functionality is very similar to that of a list box control. The main difference is that, in a combo box, the full list is displayed in a drop down when the user clicks the down arrow. In a list box control, the items are displayed within the control and the user must scroll through the available choices. Therefore, if you want users to see the full list in a list box control, you need to size the control so that they are all visible.

A combo box is the logical choice when you need to provide a list of suggested choices but you do not want to restrict the user to this selection. When the Style property is set to ComboDropDown, the combo box is rendered with an editable text area, so choices not in the list can be typed into the field.

In addition, combo boxes save space on a form. Since the full list is not displayed until you click the down arrow, a combo box can easily fit in a small space where a list box would not fit.

Material skin considerations

When the material skin is enabled in your solution, combo boxes will be rendered with material styling. The most noticeable difference is the increase in spacing between list items. this may mean that your lists are longer than they are with the classic skin.

Material skin

Classic skin

See Also

Combo field Rules | Command combo Settings


© 2004-2021 looksoftware. All rights reserved.