Distinct Values Combo Foundation Class
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
This class performs a lookup of unique values in the ControlSource field to populate a combobox.
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
Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Foundation Class Samples