Overview | This Package | All Packages
Constructors | Description |
ComboBox | Creates a ComboBox control. |
Methods | Description |
addItem | Adds an item to the combo box and returns the index of the new item. |
addOnDrawItem | Assigns a delegate to the drawItem event. |
addOnDropDown | Assigns a delegate to the dropDown event. |
addOnMeasureItem | Assigns a delegate to the measureItem event. |
addOnSelectedIndexChanged | Assigns a delegate to the selectedIndexChanged event. |
addOnTextChanged | Assigns a delegate to the textChanged event. |
beginUpdate | Maintains performance while items are added to the combo box one at a time by preventing the control from painting until the endUpdate method is called. |
endUpdate | Resumes painting the ListBox control after painting is suspended by the beginUpdate method. |
findString | Finds the first item in the combo box that starts with the specified string. |
findStringExact | Finds the first item in the list that exactly matches the string specified in the s parameter. |
getDrawMode | Retrieves a value indicating whether the system draws the combo box, whether the combo box owner draws the combo box with all items of equal height, or whether the combo box owner draws the combo box with items of variable height. |
getDroppedDown | Retrieves a boolean value indicating whether the list box of a combo box is currently dropped down. |
getFocused | Retrieves a boolean value indicating whether the control has the focus. |
getIntegralHeight | Retrieves a boolean value indicating whether the combo box should resize to avoid showing partial items. |
getItem | Retrieves the item at the specified zero-based index. |
getItemCount | Retrieves the number of items in the combo box. |
getItemHeight | Retrieves the height, in pixels, of an item in the combo box. |
getItems | Retrieves an Object array containing all the items in the combo box. |
getMaxDropDownItems | Retrieves the maximum number of items that can be displayed in the drop-down list box of the combo box. |
getMaxLength | Retrieves the maximum number of characters the user can type into the edit control of a combo box. |
getSelectedIndex | Retrieves the zero-based index of the currently selected item in the combo box. |
getSelectedItem | Retrieves the currently selected item in the the combo box. |
getSelectedText | Retrieves the text that is selected in the edit control of the combo box. |
getSelectionEnd | Retrieves the zero-based index of the first character after the end of the current text selection in the edit control of the combo box. |
getSelectionStart | Retrieves the zero-based index of the first character in the current text selection in the edit control of the combo box. |
getSorted | Retrieves a boolean value indicating whether the items in the combo box are sorted alphabetically. |
getStyle | Retrieves a value indicating the style of the combo box (whether the combo box has an edit control or a static text control and whether the list for the combo box is always visible or visible only when dropped down by the user). |
insertItem | Adds an item to the combo box at the specified position. |
onDrawItem | Triggers the drawItem event. |
onDropDown | Triggers the dropDown event. |
onMeasureItem | Triggers the measureItem event. |
onSelectedIndexChanged | Triggers the selectedIndexChanged event. |
onTextChanged | Triggers the textChanged event. |
removeAll | Removes all items from the list box. |
removeItem | Removes the specified item from the list box. |
removeOnDrawItem | Removes the delegate that is assigned to the drawItem event. |
removeOnDropDown | Removes the delegate that is assigned to the dropDown event. |
removeOnMeasureItem | Removes the delegate that is assigned to the measureItem event. |
removeOnSelectedIndexChanged | Removes the delegate that is assigned to the selectedIndexChanged event. |
removeOnTextChanged | Removes the delegate that is assigned to the textChanged event. |
select | Selects a range of text in the edit control of the combo box. |
selectAll | Selects all the text in the edit control of the combo box. |
setDrawMode | Sets a value indicating whether the system draws the combo box, whether the combo box owner draws the combo box with all items of equal height, or whether the combo box owner draws the combo box with items of variable height. |
setDroppedDown | Sets a boolean value indicating whether the list box of the combo box is currently dropped down. |
setIntegralHeight | Sets a boolean value indicating whether the combo box should resize to avoid showing partial items. |
setItem | Allows you to replace the item at the specified position in the combo box. |
setItemHeight | Sets the height, in pixels, of an item in the combo box. |
setItems | Adds a set of items to the combo box. |
setMaxDropDownItems | Sets the maximum number of items that can be displayed in the drop-down list box of the combo box. |
setMaxLength | Sets the maximum number of characters the user can type into the edit control of a combo box. |
setSelectedIndex | Selects an item in a combo box. |
setSelectedItem | Selects the first occurrence of the specified item in a single-selection combo box, and returns the zero-based index of the item. |
setSelectedText | Replaces the currently selected text in the edit control of the combo box with the specified text. |
setSelectionEnd | Sets the end position of the text selection in the edit control of the combo box. |
setSelectionStart | Sets the starting position of the text selection in the edit control of the combo box. |
setSorted | Sets a boolean value indicating whether the items in the combo box are sorted alphabetically. |
setStyle | Sets a value indicating the style of the combo box (whether the combo box has an edit control or a static text control, and whether the list for the combo box is always visible or visible only when dropped down by the user). |