# Combo Box

toolslib\custctrl\combobox.fp

This instrument driver contains functions for creating and manipulating Combo Box controls.

A Combo Box control is the combination of a string control with a drop–down menu. You must create a Combo Box from an existing string control, which is transformed into a Combo Box by adding a drop–down menu to the control. By setting up a user–defined callback, you easily can add new items to the drop–down menu. The Combo Box acts like any other control in LabWindows/CVI. Any callbacks that exist on the original string still exist after the Combo Box is created.

A user can select entries from the drop–down menu, and these entries will appear in the string portion of the control. The Combo Box includes auto–completion of text. As the user types, the control compares the text to the values stored in the drop–down portion. The control completes the text if it finds a match. Users also can input their own values so that they are not restricted to the values in the drop–down menu.

The functions in this instrument driver are multithread-safe.