The information in this article applies to:
SUMMARYIf you assign a value to the Text property of a combo box with Style=2 (Dropdown list), you will receive a error message. To assign a default value to a combo box with the Style property set to 2, you need to set the ListIndex property of the combo box. If you assign a value to the Text property of a combo box with Style set to 0 (Dropdown Combo) or 1 (Simple Combo), you will not get the above error message. MORE INFORMATION
A combo box combines the features of a text box and a list box. The
user can make a selection by selecting an item from its list or by
entering text in the text box portion of the combo box at the top of
the combo box. REFERENCES"Microsoft Visual Basic: Language Reference," version 1.0, page 311 Additional query words: 2.00 3.00
Keywords : |
Last Reviewed: September 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |