Event XbpCombobox():itemSelected Foundation

Marked item has been selected.

Syntax
:itemSelected := {| uNIL1, uNIL2, self | ... }
:itemSelected () --> self
xbeLB_ItemSelected (1048850)
Return

This method returns the object executing the method (self).

Description

The xbeLB_ItemSelected event is generated after the user presses the Return key while an item is selected in the edit or drop-down component of a combobox object. In addition, xbeLB_ItemSelected is triggered in the following scenarios:

Comboboxes of type XBPCOMBO_SIMPLE:

- When a double-click is performed with the mouse

Comboboxes of types XBPCOMBO_DROPDOWN and XBPCOMBO_DROPDOWNLIST:

- When a mouse-click is performed in the drop-down element of the combobox.

This xbeLB_ItemSelected event is used to signal that the user has made a selection from the list box or drop-down element of a combobox object. The :getData() and :getItem() methods are used to determine which item is selected.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.