ComboBox Object Members

Outlook Forms Script Reference

Combines the features of a ListBox and a TextBox.

Methods

  Name Description
Bb176972.methods(en-us,office.12).gif AddItem For a single-column ComboBox, the AddItem method adds an item to the list. For a multicolumn ComboBox, this method adds a row to the list.
Bb176972.methods(en-us,office.12).gif Clear Removes all entries in the list in a ComboBox.
Bb176972.methods(en-us,office.12).gif Copy Copies the contents of an object to the Clipboard.
Bb176972.methods(en-us,office.12).gif Cut Removes selected information from an object and transfers it to the Clipboard.
Bb176972.methods(en-us,office.12).gif DropDown Displays the list portion of a ComboBox.
Bb176972.methods(en-us,office.12).gif Paste Transfers the contents of the Clipboard to an object.
Bb176972.methods(en-us,office.12).gif RemoveItem Removes a row from the list in a ComboBox.

Properties

  Name Description
Bb176972.properties(en-us,office.12).gif AutoSize Returns or sets a Boolean that specifies whether an object automatically resizes to display its entire contents. Read/write.
Bb176972.properties(en-us,office.12).gif AutoTab Returns or sets a Boolean that specifies whether an automatic tab occurs when a user enters the maximum allowable number of characters into the text box portion of a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif AutoWordSelect Returns or sets a Boolean that specifies whether the basic unit used to extend a selection is a word or a single character. Read/write.
Bb176972.properties(en-us,office.12).gif BackColor Returns or sets a Long that specifies the background color of the object. Read/write.
Bb176972.properties(en-us,office.12).gif BackStyle Returns or sets an Integer that specifies the background style for an object. Read/write.
Bb176972.properties(en-us,office.12).gif BorderColor Returns or sets a Long that specifies the border color of an object. Read/write.
Bb176972.properties(en-us,office.12).gif BorderStyle Returns or sets an Integer that specifies the type of border of the control. Read/write.
Bb176972.properties(en-us,office.12).gif BoundColumn Returns or sets a Variant that identifies the source of data in a multicolumn ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif CanPaste Returns a Boolean that specifies whether the Clipboard contains data that the object supports. Read-only.
Bb176972.properties(en-us,office.12).gif Column Returns or sets a Variant that represents a single value, a column of values, or a two-dimensional array to load into a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif ColumnCount Returns or sets a Long that represents the number of columns to display in a combo box. Read/write.
Bb176972.properties(en-us,office.12).gif ColumnHeads Returns or sets a Boolean that specifies whether a single row of column headings are displayed. Read/write.
Bb176972.properties(en-us,office.12).gif ColumnWidths Returns or sets a String that specifies the width of each column in a multicolumn ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif CurTargetX Returns a Long that represents the preferred horizontal position of the insertion point in a multiline ComboBox. Read-only.
Bb176972.properties(en-us,office.12).gif CurX Returns or sets a Long that represents the current horizontal position of the insertion point in a multiline ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif DragBehavior Returns or sets an Integer that specifies whether the system enables the drag-and-drop feature for the control. Read/write.
Bb176972.properties(en-us,office.12).gif DropButtonStyle Returns or sets a fmDropButtonStyle value that represents the symbol displayed on the drop button in a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif Enabled Returns or sets a Boolean that specifies whether a control can receive the focus and respond to user-generated events. Read/write.
Bb176972.properties(en-us,office.12).gif EnterFieldBehavior Returns or sets an Integer that specifies the selection behavior when entering a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif ForeColor Returns or sets a Long that specifies the foreground color of an object. Read/write.
Bb176972.properties(en-us,office.12).gif HideSelection Returns or sets a Boolean that specifies whether selected text remains highlighted when a control does not have the focus. Read/write.
Bb176972.properties(en-us,office.12).gif IMEMode Returns or sets an Integer that specifies the default run-time mode of the Input Method Editor (IME) for a control. Read/write.
Bb176972.properties(en-us,office.12).gif LineCount Returns a Long that specifies the number of text lines in a ComboBox. Read-only.
Bb176972.properties(en-us,office.12).gif List Returns or sets a Variant that represents the specified entry in a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif ListCount Returns a Long that represents the number of list entries in a control. Read-only.
Bb176972.properties(en-us,office.12).gif ListIndex Returns or sets a Variant that represents the currently selected item in a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif ListRows Returns or sets a Long that specifies the maximum number of rows to display in the list. Read/write.
Bb176972.properties(en-us,office.12).gif ListStyle Returns or sets an Integer that specifies the visual appearance of the list in a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif ListWidth Returns or sets a Variant that specifies the width of the list in a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif Locked Returns or sets a Boolean that specifies whether a control can be edited. Read/write.
Bb176972.properties(en-us,office.12).gif MatchEntry Returns or sets an Integer that indicates how a ComboBox searches its list as the user types. Read/write.
Bb176972.properties(en-us,office.12).gif MatchFound Returns a Boolean value that indicates whether the text that a user has typed into a ComboBox matches any of the entries in the list. Read-only.
Bb176972.properties(en-us,office.12).gif MatchRequired Returns or sets a Boolean that specifies whether a value entered in the text portion of a ComboBox must match an entry in the existing list portion of the control. Read/write.
Bb176972.properties(en-us,office.12).gif MaxLength Returns or sets a Long that specifies the maximum number of characters a user can enter in a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif MouseIcon Returns a String that represents the full path name of a custom icon that is to be assigned to the control. Read-only.
Bb176972.properties(en-us,office.12).gif MousePointer Returns or sets an Integer that specifies the type of pointer displayed when the user positions the mouse over a particular object. Read/write.
Bb176972.properties(en-us,office.12).gif SelectionMargin Returns or sets a Boolean that specifies whether the user can select a line of text by clicking in the region to the left of the text. Read/write.
Bb176972.properties(en-us,office.12).gif SelLength Returns or sets a Long that represents a the number of characters selected in the text portion of a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif SelStart Returns or sets a Long that represents the starting point of selected text, or the insertion point if no text is selected. Read/write.
Bb176972.properties(en-us,office.12).gif SelText Returns or sets a String that represents the selected text of a control. Read/write.
Bb176972.properties(en-us,office.12).gif ShowDropButtonWhen Returns or sets a fmShowDropButtonWhen value that specifies when to show the drop-down button for a ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif SpecialEffect Returns or sets an Integer that specifies the visual appearance of an object. Read/write.
Bb176972.properties(en-us,office.12).gif Style Returns or sets an Integer that specifies how the user can choose or set the control's value. Read/write.
Bb176972.properties(en-us,office.12).gif Text Returns or sets a String that specifies text in a ComboBox, changing the selected row in the control. Read/write.
Bb176972.properties(en-us,office.12).gif TextAlign Returns or sets an Integer that specifies how text is aligned in a control. Read/write.
Bb176972.properties(en-us,office.12).gif TextColumn Returns or sets a Variant that identifies the column in a ComboBox to display to the user. Read/write.
Bb176972.properties(en-us,office.12).gif TextLength Returns a Long that represents the the length, in number of characters, of text in the edit region of a ComboBox. Read-only.
Bb176972.properties(en-us,office.12).gif TopIndex Returns or sets a Long that represents the index of the item displayed in the topmost position in the list portion of the ComboBox. Read/write.
Bb176972.properties(en-us,office.12).gif Value Returns or sets a Variant that specifies the value in the BoundColumn of the currently selected rows. Read/write.

Events

  Name Description
Bb176972.events(en-us,office.12).gif Click Occurs when the user definitively selects a value for the control that has more than one possible value.