The information in this article applies to:
SUMMARYThis article discusses properties of multiple-column list or combo boxes, and describes how to create and manipulate them. All the tasks described require modifying the value of a property. MORE INFORMATIONTo build a multiple-column list or combo box, modify the ColumnCount property of the object to the number of columns that will be on the list. Aligning ColumnsColumns are aligned in a list box if one of the following conditions is met:
Retrieving the Value of a List ItemUse the LIST property. When used in conjunction with the LISTITEMID, the LIST property can specify the value of a selected item in a row of columns. For example:
Hiding a ColumnTo hide a column in a list, set the width of this column to 0 in the COLUMNWIDTH property. The COLUMNWIDTH property accepts a comma-delimited list of items, as in this example:
Linking the Value of the Combo Box to Column N OnlyUse the BOUNDCOLUMN property to link the value of a combo box to a column. The BOUNDCOLUMN property determines which column is bound to the value of a list box or combo box.Linking the Selection to a Value that Is Not DisplayedTo link the selection to a value not displayed, combine the previous two methods. The following steps illustrate this method using the Form Designer:
Additional query words: VFoxWin
Keywords : kbcode FxtoolFormdes |
Last Reviewed: August 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |