Lookup Combobox Foundation Class
Category | Data Query |
---|---|
Default Catalog | Visual FoxPro Catalog\Foundation Classes\Data Query |
Class | _cbolookup |
Base Class | ComboBox |
Class Library | _dataquery.vcx |
Parent Class | _combobox |
Sample | ...\Samples\Solution\Ffc\datalook2.scx |
Remarks
This class performs a lookup of values in a 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 add the class to a form, Visual FoxPro opens a builder so you can specify the appropriate Lookup_table, Order_column, Display_column, and Return_column values. When you drop the class on a project, you can choose between adding the class or creating a subclass.
Properties, Events, Methods | Description |
Display_column property | Specifies the column value from the Lookup_table to display in the drop-down list. Default: "" |
Lookup_table property | Specifies the table in which to find the column containing the values to display in the drop down list. Default: "" |
Return_column property | Specifies the column value (0, 1 or 2) to return to the Value property of the combo box. Default: "" |
Order_column property | Specifies the column to order the records displayed in the drop down list (optional). Default: "" |
See Also
Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Foundation Class Samples