The information in this article applies to:
SUMMARYA Microsoft WordBasic ListBox or ComboBox control may contain a blank selection if the array variable assignment does not begin at 0 (zero) or if the array variable is dimensioned with more elements than needed. MORE INFORMATIONAn array variable gives a single name to a group of related values and organizes them in a list or table. Dim ArrayVariableName(LastElementNumber)The first element of a WordBasic array is always numbered 0 (zero). This means that the number of the last element is one less than the number of elements. For example:
Before you display a dialog box containing a list or combo box, you
must define an array and fill it with the items to be listed. For
example:
If a value is not assigned to the first array element, FourWinds$(0),
a blank selection will appear at the top of the list box. If a blank
selection appears at the bottom of the list box, the number of array
elements is NOT one less than the total number of elements.
REFERENCES
"Using WordBasic," by WexTech Systems and Microsoft, page 80
Additional query words: 6.0 2.0 word6 winword user defined editor listbox combobox winword2
Keywords : |
Last Reviewed: December 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |