📚 SAP Business One SDK Help

ButtonCombo 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 CaptionThe button combo's caption.

Use this property to set the caption when no valid values are specified; the item then acts as a Button.

Public Property DataBindThe DataBind object tied to this item.
Public Property ExpandTypeThe expand types of the button combo.
Public Property ItemThe item properties of the button combo. You can get the item that specifics the button combo, and set the item properties if necessary.
Public Property SelectedThe currently selected value.
Public Property ValidValuesThe valid values for this item.

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

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 KeyDownAfterThe event occurs after the key was pressed.
Public Event KeyDownBeforeThe event occurs before the key was pressed.
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