Compartir a través de


Distinct Values Combo Foundation Class

This class performs a lookup of unique values in the ControlSource field to populate a combobox.

Category

Data Query

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Data Query

Class

_cbodistinctvalues

Base Class

ComboBox

Class Library

_dataquery.vcx

Parent Class

_combobox

Sample

...\Samples\Solution\Ffc\datalook2.scx

Remarks

To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Form. When you drop the class on a form, Visual FoxPro places a combobox on the form. You need to specify an appropriate value for the ControlSource property. When you drop the class on a project, you can choose between adding the class or creating a subclass.

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples