📚 SAP Business One SDK Help

ComboBox Object Members
See Also  Overview 

Public Methods

Public Method SelectSimulates a user selection in the combo box.

This method, if successful, triggers an item event of type et_COMBO_SELECT.

Public Method SelectExclusiveSimulates a user selection in the combo box.

This method, if successful, triggers an item event of type et_COMBO_SELECT.

Public Properties

Public Property ActiveIndicates whether the item has the focus. Set the property as follows:
  • True: Puts the focus on the item.
  • False: Removes the focus from the item. If the item had been in focus, the focus moves to the next item that can get the focus.
Public Property DataBindThe DataBind object tied to this item.
Public Property ExpandTypeThe expand types of the combo box.
Public Property ItemThe item properties of the combo box. You can get the item that specifics the combo box, and set the item properties if necessary.
Public Property SelectedThe currently selected value.
Public Property TabOrderThe item's tab order, which can be any long integer equal to or greater than 0.

Tab order is the order in which form items get focus when the user presses the TAB key. Only items that can get focus can get a tab order value, for example, you cannot set a tab order for cells or columns.

Two items can have the same tab order, in which case the order is not guaranteed.

Public Property ValidValuesThe valid values for this item.

Add or remove valid values with the Add and Remove methods of the ValidValues object.

Public Property ValueThe current value displayed in the combo box.

Events

Public Event ClickAfterThe event occurs after the main mouse button was clicked.
Public Event ClickBeforeThe event occurs before the main mouse button was clicked.
Public Event ComboSelectAfterThe event occurs after a value was selected in a combo box.
Public Event ComboSelectBeforeThe event occurs before a value was selected in a combo box.
Public Event DoubleClickAfterThe event occurs after the main mouse button was double clicked.
Public Event DoubleClickBeforeThe event occurs before the main mouse button was double clicked.
Public Event GotFocusAfterGotFocusAfter
Public Event KeyDownAfterThe event occurs after the key was pressed.
Public Event KeyDownBeforeThe event occurs before the key was pressed.
Public Event LostFocusAfterLostFocusAfter
Public Event PressedAfterThe event occurs after the item was pressed, that is, a mouse is released within an item.
Public Event PressedBeforeThe event occurs before the item was pressed.

See Also