DOC: Help File Gives Incorrect Info on ColumnCount PropertyLast reviewed: January 8, 1997Article ID: Q135041 |
The information in this article applies to:
SUMMARYThe Help file incorrectly states the following for the ColumnCount Property:
For a ComboBox or ListBox control, the ColumnCount property specifies the number of Columns the control contains. If ColumnCount is set to -1, the control mimics FoxPro version 2.x behavior. If you set ColumnCount to 0, no Columns are displayed.This documentation error has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATIONIn fact, if the ColumnCount property is set to -1 for a ListBox or ComboBox control, the following error occurs:
Expression Evaluated to an Illegal ValueIn addition, if the ColumnCount property is set to 0, and a RowSource is specified, the first column (if applicable) of the RowSource is displayed. For example, if the RowSource is set to Customer table, the RowSourceType is set to 2-Alias, and the ColumnCount is set to 0, then the first column of the Customer table will be displayed in the ListBox or ComboBox control.
|
KBCategory: kbref kbdocerr kbdocfix
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |