The combo box is a control that combines a text box and a list box. This control is often used to save space on the form. When the user clicks the down-arrow located to the right of the combo box, the box will open up to reveal a number of items to choose from. If none of the displayed choices is applicable, by setting the MatchRequired property to False, you can allow the user to enter a new value. The ListRows property determines how many items will appear when the user drops the list down. The Style property determines the type of combo box. Use 0 (fmStyleDropDownCombo) to let the user select an item from the list or enter a new item in the text box. To limit the user's selection of the items available in the combo box, set the Style property to 2 (fmStyleDropDownList).

0 0

Post a comment